Skip to content

Commit f30d251

Browse files
author
Anthony Du Pont
committed
Merge branch 'develop'
2 parents 8972a24 + a189307 commit f30d251

File tree

14 files changed

+12
-12
lines changed

14 files changed

+12
-12
lines changed

dist/es5/highway.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4170,7 +4170,7 @@ function (_Emitter) {
41704170
value: function bind() {
41714171
// We get all the links from the document except the ones with a `target`
41724172
// attribute.
4173-
this.links = document.querySelectorAll('a:not([target])'); // We then loop over each one of them to bind the `click` event.
4173+
this.links = document.querySelectorAll('a:not([target]):not([href*="javascript"])'); // We then loop over each one of them to bind the `click` event.
41744174

41754175
var _iteratorNormalCompletion = true;
41764176
var _didIteratorError = false;

dist/es5/highway.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/es5/highway.min.js.gz

18 Bytes
Binary file not shown.

dist/highway.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ class core_Core extends tiny_emitter_default.a {
548548
bind() {
549549
// We get all the links from the document except the ones with a `target`
550550
// attribute.
551-
this.links = document.querySelectorAll('a:not([target])');
551+
this.links = document.querySelectorAll('a:not([target]):not([href*="javascript"])');
552552

553553
// We then loop over each one of them to bind the `click` event.
554554
for (const link of this.links) {

dist/highway.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/highway.min.js.gz

17 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)