Template:NavBar

From 2014.igem.org

(Difference between revisions)
m
m
Line 141: Line 141:
if (!!('ontouchstart' in window)){
if (!!('ontouchstart' in window)){
$('.dropToggle').click(function(e) {
$('.dropToggle').click(function(e) {
-
$('.navDropMenu').slideToggle(200);
+
$('.navDropMenu').stop().slideDown();
$('.dropToggle').toggleClass('active');
$('.dropToggle').toggleClass('active');
e.stopPropagation();
e.stopPropagation();

Revision as of 15:23, 31 January 2014