diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-31 16:57:53 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-31 16:57:53 +0000 |
commit | b25099829038578d12d5406716847bc630e418a7 (patch) | |
tree | c93bda0e1391a5c4a30b5eb1203aad9e38cda2b5 /interface/js/main.js | |
parent | 44a97d4993c03ba868b1e7d70b4a1351ecca7732 (diff) | |
download | rspamd-b25099829038578d12d5406716847bc630e418a7.tar.gz rspamd-b25099829038578d12d5406716847bc630e418a7.zip |
[WebUI] Fix retarded datatables
Diffstat (limited to 'interface/js/main.js')
-rw-r--r-- | interface/js/main.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/interface/js/main.js b/interface/js/main.js index 0611229af..c2f9da983 100644 --- a/interface/js/main.js +++ b/interface/js/main.js @@ -10,14 +10,19 @@ requirejs.config({ d3evolution: 'd3evolution.min', d3pie: 'd3pie.min', datatables: 'datatables.min', - bootstrap: 'bootstrap.min' + bootstrap: 'bootstrap.min', }, shim: { d3: {exports: 'd3'}, bootstrap: {exports: 'bootstrap', deps: ['jquery']}, d3pie: {exports: 'd3pie', deps: ['d3', 'jquery']}, d3evolution: {exports: 'D3Evolution', deps: ['d3', 'd3pie', 'jquery']}, - datatables: {deps: ['bootstrap','jquery']}, + datatables: {deps: ['bootstrap', 'jquery']}, + }, + map: { + '*': { + 'datatables.net': 'datatables', + } } }); |