aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/app.js6
-rw-r--r--js/firefox/page-shim.js1
-rw-r--r--js/redirector-scriptload.js5
3 files changed, 5 insertions, 7 deletions
diff --git a/js/app.js b/js/app.js
index c6cf731..0810162 100644
--- a/js/app.js
+++ b/js/app.js
@@ -3,8 +3,10 @@
//are used by multiple controllers then we'll define them here.
var redirectorApp = angular.module('redirectorApp', []);
-
-
+//To make the private stuff in Firefox work properly
+window.addEventListener('DOMContentLoaded', function() {
+ document.body.classList.remove('private');
+});
diff --git a/js/firefox/page-shim.js b/js/firefox/page-shim.js
index 676c9d9..4607d7c 100644
--- a/js/firefox/page-shim.js
+++ b/js/firefox/page-shim.js
@@ -77,3 +77,4 @@
})();
+
diff --git a/js/redirector-scriptload.js b/js/redirector-scriptload.js
index ad03b3a..844576d 100644
--- a/js/redirector-scriptload.js
+++ b/js/redirector-scriptload.js
@@ -17,8 +17,3 @@ if (typeof chrome !== 'undefined') {
loadScript("js/controllers/importexport.js");
loadScript("js/controllers/listredirects.js");
}
-
-//To make the private stuff in Firefox work properly
-window.addEventListener('DOMContentLoaded', function() {
- document.body.classList.remove('private');
-});