aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck ⭐ <nekostarfan@gmail.com>2021-10-15 18:34:56 +0000
committerMinteck ⭐ <nekostarfan@gmail.com>2021-10-15 18:34:56 +0000
commit7f7d13d843f6093fb9061ee7b765e481f2bc19ee (patch)
tree091d9a48bc11ffc2b28bcb255e699afb1e5333c4
parentb0be7f5ac397722ba0d5a98d6b919acb6d8f1a31 (diff)
downloadwebring-7f7d13d843f6093fb9061ee7b765e481f2bc19ee.tar.gz
webring-7f7d13d843f6093fb9061ee7b765e481f2bc19ee.tar.bz2
webring-7f7d13d843f6093fb9061ee7b765e481f2bc19ee.zip
Update 'FtechWebring.client.js'
-rw-r--r--FtechWebring.client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/FtechWebring.client.js b/FtechWebring.client.js
index 3209c03..643988d 100644
--- a/FtechWebring.client.js
+++ b/FtechWebring.client.js
@@ -22,7 +22,7 @@ function _ftww_processData(raw) {
// We find the index corresponding to this website
thisSite = null;
hparts = location.href.split("/");
- href = a[0] + "/" + a[1] + "/" + a[2];
+ href = hparts[0] + "/" + hparts[1] + "/" + hparts[2];
if (typeof href === "string") { // Checking if the required variable is defined
index = 0;
for (site of sites) {