diff options
-rw-r--r-- | FtechWebring.client.js | 2 |
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) { |