From da36274f1bb93b5803fca1c744f62ceda7fe5e76 Mon Sep 17 00:00:00 2001 From: zombieJ Date: Tue, 28 Feb 2017 14:46:47 +0800 Subject: [PATCH] fix js lint --- .../main/webapp/app/dev/public/js/services/notificationSrv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eagle-server/src/main/webapp/app/dev/public/js/services/notificationSrv.js b/eagle-server/src/main/webapp/app/dev/public/js/services/notificationSrv.js index 76f9c4587c..391edcf530 100644 --- a/eagle-server/src/main/webapp/app/dev/public/js/services/notificationSrv.js +++ b/eagle-server/src/main/webapp/app/dev/public/js/services/notificationSrv.js @@ -103,7 +103,7 @@ }); } - if (!'Notification' in window || !'localStorage' in window) { + if (!('Notification' in window) || !('localStorage' in window)) { // Notification not support console.warn('Browser do not support Notification api. Ignore...'); } else {