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;
-
return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent));
+
                                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