mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 21:06:24 +08:00
Fix jshint 2
This commit is contained in:
parent
f5630b9791
commit
a616d9ed1c
@ -1,5 +1,5 @@
|
|||||||
// Subscribes to user events on the message bus
|
// 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 {
|
export default {
|
||||||
name: 'subscribe-user-notifications',
|
name: 'subscribe-user-notifications',
|
||||||
|
@ -31,9 +31,9 @@ function init(container) {
|
|||||||
Em.Logger.error(e);
|
Em.Logger.error(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(function(e) {
|
}).catch(function() {
|
||||||
liveEnabled = false;
|
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