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 c20924d..05dd72b 100644 --- a/FtechWebring.client.js +++ b/FtechWebring.client.js @@ -44,7 +44,7 @@ function _ftww_processData(raw) { previous = sites[sites.length - 1]["url"]; // If this is the first site, roll out to the last one } - if (sites[$thisSite + 1]) { // We check if there's a next site in the list + if (sites[thisSite + 1]) { // We check if there's a next site in the list next = sites[thisSite + 1]["url"]; } else { next = sites[0]["url"]; // If this is the last site, roll out to the first one |