summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-02-18 12:28:03 +0300
committerAndrew Dolgov <[email protected]>2011-02-18 12:28:03 +0300
commit685352116602e42b23484119f1fde5c6b7fef594 (patch)
tree71e17a483fe11ed70428a641d380f900141a1842 /tt-rss.js
parentd195055341368ca2b480a60b8a62c0c49966d272 (diff)
fix fatalError() not working properly
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 5884d8d4e..5b4947b4c 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -266,7 +266,7 @@ function genericSanityCheck() {
setCookie("ttrss_test", "TEST");
if (getCookie("ttrss_test") != "TEST") {
- fatalError(2);
+ return fatalError(2);
}
return true;
@@ -314,7 +314,7 @@ function init() {
});
if (!genericSanityCheck())
- return;
+ return false;
loading_set_progress(20);