hdeng-bootstrap
Advanced tools
Comparing version 2.9.1 to 2.9.2
@@ -30,4 +30,6 @@ var $ = require('jquery'); | ||
} | ||
e.preventDefault(); | ||
}) | ||
; | ||
}; |
@@ -85,3 +85,3 @@ var $ = require('jquery'); | ||
// Mobile Menu Button | ||
$(document).on('click', '[data-subnav-toggle]', function() { | ||
$(document).on('click', '[data-subnav-toggle]', function(e) { | ||
subnav | ||
@@ -92,3 +92,3 @@ .toggleClass("subnav--mobile") | ||
; | ||
return false; | ||
e.preventDefault(); | ||
}); | ||
@@ -95,0 +95,0 @@ |
@@ -6,3 +6,3 @@ // From: http://css-tricks.com/snippets/jquery/smooth-scrolling/ | ||
module.exports = function() { | ||
$(document).on('click', 'a', function() { | ||
$(document).on('click', 'a', function(e) { | ||
if (this.hash.length > 0 && location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { | ||
@@ -27,3 +27,3 @@ var target, hash = this.hash; | ||
return false; | ||
e.preventDefault(); | ||
} | ||
@@ -30,0 +30,0 @@ } |
{ | ||
"name": "hdeng-bootstrap", | ||
"description": "Bootstrap your Heidelberg Engineering projects with ease.", | ||
"version": "2.9.1", | ||
"version": "2.9.2", | ||
"author": "Dots United GmbH", | ||
@@ -6,0 +6,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1185999
500