removed old obsolete code

This commit is contained in:
Kasper Rynning-Tønnesen
2015-12-19 13:31:47 +01:00
parent 8c137d1b04
commit 153ed84547
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -174,7 +174,7 @@ var Youtube = {
notifyUser: function(id, title) {
title = title.replace(/\\\'/g, "'").replace(/"/g,"'").replace(/&/g,"&");
if (Notification.permission === "granted" && document.hidden && id != "30H2Z8Lr-4c" && !window.mobilecheck()) {
if (Notification.permission === "granted" && document.hidden) {
var notification = new Notification("Now Playing", {body: title, icon: "http://i.ytimg.com/vi/"+id+"/mqdefault.jpg", iconUrl: "http://i.ytimg.com/vi/"+id+"/mqdefault.jpg"});
notification.onclick = function(x) { window.focus(); this.cancel(); };
setTimeout(function(){