foundation-sites
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -5,3 +5,3 @@ !function($) { | ||
var FOUNDATION_VERSION = '6.0.2'; | ||
var FOUNDATION_VERSION = '6.0.3'; | ||
@@ -8,0 +8,0 @@ // Global Foundation object |
@@ -206,18 +206,18 @@ /** | ||
//add ability for all menu items to close an open menu on the same level// | ||
this.$menuItems.off('mouseenter.zf.dropdownmenu') | ||
.on('mouseenter.zf.dropdownmenu', function(e){ | ||
var $el = $(this); | ||
if(!$el.hasClass('is-active')){ | ||
_this._hideOthers($el); | ||
} | ||
}); | ||
this.$menuItems.on('mouseenter.zf.dropdownmenu', function(e){ | ||
var $el = $(this); | ||
if(!$el.hasClass('is-active')){ | ||
_this._hideOthers($el); | ||
} | ||
}); | ||
//elements with submenus | ||
$elem.on('mouseenter.zf.dropdownmenu', function(e){ | ||
clearTimeout($elem.closeTimer); | ||
if(!$elem.hasClass('is-active')){ | ||
$elem.openTimer = setTimeout(function(){ | ||
// _this._hideOthers($elem); | ||
_this._show($elem); | ||
}, _this.options.hoverDelay); | ||
} | ||
$elem.off('mouseenter.zf.dropdownmenu') | ||
.on('mouseenter.zf.dropdownmenu', function(e){ | ||
clearTimeout($elem.closeTimer); | ||
if(!$elem.hasClass('is-active')){ | ||
$elem.openTimer = setTimeout(function(){ | ||
// _this._hideOthers($elem); | ||
_this._show($elem); | ||
}, _this.options.hoverDelay); | ||
} | ||
}).on('mouseleave.zf.dropdownmenu', function(e){ | ||
@@ -224,0 +224,0 @@ if(!$elem.data('isClick') && _this.options.autoclose){ |
{ | ||
"name": "foundation-sites", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"main": "dist/foundation.js", | ||
@@ -5,0 +5,0 @@ "description": "The most advanced responsive front-end framework in the world.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1326788