aboutsummaryrefslogtreecommitdiff
path: root/web/load.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-04 09:09:41 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-04 09:09:41 +1300
commit0050bbc93c118476ce799d3da9bb48a6ce4abfd7 (patch)
treecc573c1afe8f0e34b9a47fa55685f5bfe9ba55a5 /web/load.js
parent71a4c8994d3e3c6234791208abc369bab7984fa2 (diff)
downloadtrackermap-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.js9
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');