diff options
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/selectors.js | 2 | ||||
-rw-r--r-- | interface/js/main.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/interface/js/app/selectors.js b/interface/js/app/selectors.js index 759e3ea16..6535953b5 100644 --- a/interface/js/app/selectors.js +++ b/interface/js/app/selectors.js @@ -40,7 +40,7 @@ define(["jquery", "app/rspamd"], enable_disable_check_btn(); } const selector = $("#selectorsSelArea").val(); - if (selector.length && !rspamd.read_only ) { + if (selector.length && !rspamd.read_only) { rspamd.query("plugins/selectors/check_selector?selector=" + encodeURIComponent(selector), { method: "GET", success: function (json) { diff --git a/interface/js/main.js b/interface/js/main.js index a86982f87..4bc488895 100644 --- a/interface/js/main.js +++ b/interface/js/main.js @@ -22,7 +22,7 @@ requirejs.config({ shim: { app: {deps:["jquery"]}, codejar: {exports: "CodeJar", deps:["linenumbers"]}, - bootstrap: {exports:"bootstrap", deps:["jquery"]}, // Popovers require jQuery + bootstrap: {exports:"bootstrap", deps:["jquery"]}, // Popovers require jQuery d3: {exports:"d3"}, d3evolution: {exports:"D3Evolution", deps:["d3.global", "jquery"]}, d3pie: {exports:"D3Pie", deps:["d3.global", "jquery"]}, @@ -64,5 +64,5 @@ requirejs.onError = function (e) { // Load main UI require(["app/rspamd"], (rspamd) => { "use strict"; - rspamd.connect() + rspamd.connect(); }); |