summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 78e3bbaae..aa3169ac9 100644
--- a/functions.js
+++ b/functions.js
@@ -416,4 +416,7 @@ function hideOrShowFeeds(doc, hide) {
}
+function fatalError(code) {
+ window.location = "error.php?c=" + param_escape(code);
+}