summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib/utils/notify.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/lib/utils/notify.js')
-rw-r--r--app/assets/javascripts/lib/utils/notify.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/lib/utils/notify.js b/app/assets/javascripts/lib/utils/notify.js
index 8db08099b3f..aa7884846a3 100644
--- a/app/assets/javascripts/lib/utils/notify.js
+++ b/app/assets/javascripts/lib/utils/notify.js
@@ -13,7 +13,7 @@ function notificationGranted(message, opts, onclick) {
}
function notifyPermissions() {
- /* eslint-disable-next-line @gitlab/i18n/no-non-i18n-strings */
+ /* eslint-disable-next-line @gitlab/require-i18n-strings */
if ('Notification' in window) {
return Notification.requestPermission();
}
@@ -25,7 +25,7 @@ function notifyMe(message, body, icon, onclick) {
icon,
};
// Let's check if the browser supports notifications
- /* eslint-disable-next-line @gitlab/i18n/no-non-i18n-strings */
+ /* eslint-disable-next-line @gitlab/require-i18n-strings */
if (!('Notification' in window)) {
// do nothing
} else if (Notification.permission === 'granted') {