]> git.wh0rd.org - tt-rss.git/commitdiff
gotoExportOpml: js strict mode fix
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 16 Mar 2018 12:50:48 +0000 (15:50 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 16 Mar 2018 12:50:48 +0000 (15:50 +0300)
js/prefs.js

index 89607c6c80a6418db4d5132ac6daf9c2547619e0..79ad15cecb5d6cd606c21366c3cfd916dc93bdf7 100755 (executable)
@@ -1441,7 +1441,7 @@ function insertSSLserial(value) {
 }
 
 function gotoExportOpml(filename, settings) {
-       tmp = settings ? 1 : 0;
+       var tmp = settings ? 1 : 0;
        document.location.href = "backend.php?op=opml&method=export&filename=" + filename + "&settings=" + tmp;
 }