mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 05:45:26 +08:00
Fix jshint 2
This commit is contained in:
parent
f5630b9791
commit
a616d9ed1c
app/assets/javascripts/discourse
@ -1,5 +1,5 @@
|
||||
// Subscribes to user events on the message bus
|
||||
import { init as initDesktopNotifications, onNotification } from 'discourse/lib/desktop-notifications'
|
||||
import { init as initDesktopNotifications, onNotification } from 'discourse/lib/desktop-notifications';
|
||||
|
||||
export default {
|
||||
name: 'subscribe-user-notifications',
|
||||
|
@ -31,9 +31,9 @@ function init(container) {
|
||||
Em.Logger.error(e);
|
||||
}
|
||||
}
|
||||
}).catch(function(e) {
|
||||
}).catch(function() {
|
||||
liveEnabled = false;
|
||||
Em.Logger.info('Discourse desktop notifications are disabled - permission denied.');
|
||||
//Em.Logger.debug('Discourse desktop notifications are disabled - permission denied.');
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user