diff --git a/core/js/js.js b/core/js/js.js index faae420ef7..1801062241 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -317,7 +317,7 @@ OC.addStyle.loaded=[]; OC.addScript.loaded=[]; OC.Notification={ - queuedNotifications: new Array(), + queuedNotifications: [], getDefaultNotificationFunction: null, setDefault: function(callback) { OC.Notification.getDefaultNotificationFunction = callback;