1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-23 06:13:09 +00:00

Move generateUrl to Sms object, add SmsSettings::init & drop it from angular app

This commit is contained in:
Loic Blot
2017-12-28 18:34:15 +01:00
parent 0c54bfbf06
commit cc14f86893
5 changed files with 58 additions and 51 deletions
+4
View File
@@ -21,6 +21,10 @@ var SmsNotifications = {
});
},
notify: function (message) {
if (!SmsSettings.enableNotifications) {
return;
}
if (!("Notification" in window)) {
return;
}