Template:Team:Bonn:MenuJS
From 2013.igem.org
(Difference between revisions)
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) { |
Revision as of 08:00, 4 October 2013