Template:NavBar
From 2014.igem.org
(Difference between revisions)
m |
m |
||
Line 140: | Line 140: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
if (!!('ontouchstart' in window)){ | if (!!('ontouchstart' in window)){ | ||
- | $('. | + | if ($('.navDropMenu').is(':visible')) { |
- | $('. | + | $('.dropToggle').removeClass('active'); |
- | + | } | |
- | } | + | else { |
- | + | $('.navDropMenu', this).stop(true,true).slideDown(); | |
- | + | } | |
- | } | + | |
} | } | ||
}); | }); | ||
</script> | </script> | ||
<html> | <html> |
Revision as of 14:48, 31 January 2014