diff options
Diffstat (limited to 'web/share/js/tools.js')
-rw-r--r-- | web/share/js/tools.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/share/js/tools.js b/web/share/js/tools.js index 521cb1a0..02c6e637 100644 --- a/web/share/js/tools.js +++ b/web/share/js/tools.js @@ -240,6 +240,8 @@ export var tools = new function() { }; }; this.info("Browser:", this.browser); + + this.https = (location.protocol === "https:"); }; export var $ = (id) => document.getElementById(id); |