globalseo
Advanced tools
Comparing version
{ | ||
"name": "globalseo", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Translate your React.js or Next.js app with AI", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ const getUnprefixedPathname = require("./utils/translation-mode/getUnprefixedPathname"); | ||
// assign full url if it's relative path | ||
if (!anchor.href.startsWith("http")) { | ||
if (!anchor.href.startsWith("http") && (anchor.getAttribute("href") != "#")) { | ||
const currentUrl = new URL(window.location.href); | ||
@@ -18,0 +18,0 @@ const fullHref = `${currentUrl.protocol}//${currentUrl.hostname}${anchor.href}`; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
561653
0.02%