From 18ff916419996e991fd5679b74850938182495fa Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Mon, 22 Feb 2016 10:54:29 +0000 Subject: Make private mode work in all browsers --- js/app.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'js/app.js') 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'); +}); -- cgit v1.2.3