diff --git a/index.js b/index.js index d7a4635..3bad499 100644 --- a/index.js +++ b/index.js @@ -100,7 +100,7 @@ var isInternal = exports.isInternal = function isInternal(url) { // Does it begin with a hash, meaning a link to down page? return true; } - ref1 = settings.internalUrls != null; + ref1 = settings.internalUrls; // Does the host match internal URLs? for (j = 0, len1 = ref1.length; j < len1; j++) { urlRegex = ref1[j]; diff --git a/package.json b/package.json index e10bc03..937ed03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-routing-anchor-parser", - "version": "1.13.0", + "version": "1.13.1", "description": "A Vue directive that parses child elements for internally linking anchor tags and binds their click events to use Vue Router's push().", "main": "index.js", "scripts": {