Browse Source

Dumb JS syntax error

pull/56/head
Jaussoin Timothée 10 years ago
parent
commit
da4cf0b368
  1. 6
      app/widgets/Notification/notification.js

6
app/widgets/Notification/notification.js

@ -76,7 +76,7 @@ var Notification = {
},
toast : function(html) {
// Android notification
if(Android != null) {
if(typeof Android !== 'undefined') {
Android.showToast(html);
return;
}
@ -94,7 +94,7 @@ var Notification = {
3000);
},
snackbar : function(html, time) {
if(Android != null
if(typeof Android !== 'undefined'
|| Notification.inhibed == true) return;
target = document.getElementById('snackbar');
@ -114,7 +114,7 @@ var Notification = {
|| Notification.focused) return;
// Android notification
if(Android != null) {
if(typeof Android !== 'undefined') {
Android.showNotification(title, body, picture);
return;
}

Loading…
Cancel
Save