Notifications for Chrome

pull/91/head
Tobias Reich 10 years ago
parent ea10c68631
commit fd995fb7dc

File diff suppressed because one or more lines are too long

@ -42,6 +42,8 @@ contextMenu = {
items;
mouse_y -= $(document).scrollTop();
upload.notify();
contextMenu.fns = [
function() { $("#upload_files").click() },

@ -44,7 +44,7 @@ upload = {
if (window.webkitNotifications.checkPermission()!=0) window.webkitNotifications.requestPermission();
if (window.webkitNotifications.checkPermission()==0) {
if (window.webkitNotifications.checkPermission()==0&&title) {
popup = window.webkitNotifications.createNotification("", title, "You can now manage your new photo(s).");
popup.show();
}

Loading…
Cancel
Save