Removing deprecationnotice in console

This commit is contained in:
Kasper Rynning-Tønnesen
2017-05-31 15:48:47 +02:00
parent 6cf5577907
commit 4dbfbe262e
3 changed files with 6 additions and 2 deletions

View File

@@ -115,6 +115,10 @@ try{/*
} catch(e) {}
$.ajaxPrefilter(function( options, original_Options, jqXHR ) {
options.async = true;
});
$().ready(function(){
if(!fromFront && window.location.pathname != "/") init();
else if(!fromChannel && window.location.pathname == "/"){