Socket
Socket
Sign inDemoInstall

foundation-sites

Package Overview
Dependencies
61
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.2 to 6.0.3

2

js/foundation.core.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc