]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] JS: Disable "no-alert" rule for a line
authorAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 5 Jul 2018 07:20:15 +0000 (10:20 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 5 Jul 2018 07:20:15 +0000 (10:20 +0300)
interface/js/app/history.js

index 2d8c739fb9d268382d18e5dec70cbe4156c8a0a3..a30a2e54bdb91a176bf39b03b7c501bb42d27106 100644 (file)
@@ -673,7 +673,7 @@ define(["jquery", "footable", "humanize"],
             $("#resetHistory").off("click");
             $("#resetHistory").on("click", function (e) {
                 e.preventDefault();
-                if (!confirm("Are you sure you want to reset history log?")) {
+                if (!confirm("Are you sure you want to reset history log?")) { // eslint-disable-line no-alert
                     return;
                 }
                 if (ft.history) {