summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 16:12:27 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 16:12:27 +0300
commitcf933716075ea98ec1004544734a3158ed07a577 (patch)
treee6780a33933549b774070ef7d4105d37129533d0 /js/App.js
parentd3d3bceec9bc2307b0967b3ef6a5486a648323ae (diff)
show safe mode warning dialog in prefs
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/App.js b/js/App.js
index 6c4b6a187..95a9796ff 100644
--- a/js/App.js
+++ b/js/App.js
@@ -820,6 +820,10 @@ const App = {
App.updateRuntimeInfo();
}, 60 * 1000)
+ if (App.getInitParam("safe_mode") && this.isPrefs()) {
+ CommonDialogs.safeModeWarning();
+ }
+
console.log("second stage ok");
},