Template:Team:Bonn:MenuJS
From 2013.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 156: | Line 156: | ||
wp7 = (function() { | wp7 = (function() { | ||
var style = document.documentElement.style; | var style = document.documentElement.style; | ||
- | + | if ('behavior' in style) | |
+ | if ('fill' in style) | ||
+ | if (/iemobile/i.test(navigator.userAgent)) | ||
+ | return true; | ||
+ | return false; | ||
})(), | })(), | ||
toggleMenuClasses = function($menu, o) { | toggleMenuClasses = function($menu, o) { |
Latest revision as of 08:01, 4 October 2013