Tooltips for private-mode

This commit is contained in:
Kasper Rynning-Tønnesen
2017-02-10 16:57:19 +01:00
parent ca659e18e5
commit 86d977bb74
4 changed files with 23 additions and 7 deletions

View File

@@ -415,7 +415,6 @@ function initfp(){
}
//window.channel_list = channel_list;
if(!localStorage.ok_cookie)
Materialize.toast("We're using cookies to enhance your experience! <a class='waves-effect waves-light btn light-green' href='#' id='cookieok' style='cursor:pointer;pointer-events:all;'> ok</a>", 10000);
@@ -427,6 +426,12 @@ function initfp(){
window.location.href = 'http://etys.no';
});
$("#offline-mode").tooltip({
delay: 5,
position: "bottom",
tooltip: "Enable private mode"
});
if(!Helper.mobilecheck() && Frontpage.winter) {
$(".mega").prepend('<div id="snow"></div>');
//Frontpage.start_snowfall();