mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
added Messenger.js, to replace window.alert() and future notifications.
This commit is contained in:
@@ -14,6 +14,11 @@ define(['app', 'Shared/NotificationModel'], function () {
|
||||
this.push(model);
|
||||
*/
|
||||
|
||||
window.alert = function (message) {
|
||||
window.Messenger().post(message);
|
||||
};
|
||||
|
||||
|
||||
var self = this;
|
||||
|
||||
window.onerror = function (msg, url, line) {
|
||||
|
Reference in New Issue
Block a user