diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-04 09:09:41 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-04 09:09:41 +1300 |
commit | 0050bbc93c118476ce799d3da9bb48a6ce4abfd7 (patch) | |
tree | cc573c1afe8f0e34b9a47fa55685f5bfe9ba55a5 /web/load.js | |
parent | 71a4c8994d3e3c6234791208abc369bab7984fa2 (diff) | |
download | trackermap-web-0050bbc93c118476ce799d3da9bb48a6ce4abfd7.tar.gz trackermap-web-0050bbc93c118476ce799d3da9bb48a6ce4abfd7.tar.bz2 trackermap-web-0050bbc93c118476ce799d3da9bb48a6ce4abfd7.zip |
Change theme to triton
Diffstat (limited to 'web/load.js')
-rw-r--r-- | web/load.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/web/load.js b/web/load.js index 0e29fc3e..f4987acd 100644 --- a/web/load.js +++ b/web/load.js @@ -110,13 +110,8 @@ } addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/locale/locale-' + locale.languages[locale.language].code + '.js'); - if (touchMode) { - addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp-touch/resources/theme-crisp-touch-all.css'); - addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp-touch/theme-crisp-touch.js'); - } else { - addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp/resources/theme-crisp-all.css'); - addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-crisp/theme-crisp.js'); - } + addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/resources/theme-triton-all.css'); + addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/theme-triton.js'); addStyleFile('//cdnjs.cloudflare.com/ajax/libs/font-awesome/' + fontAwesomeVersion + '/css/font-awesome.min.css'); |