diff options
Diffstat (limited to 'web/load.js')
-rw-r--r-- | web/load.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/load.js b/web/load.js index 2eef6b6d..552b167a 100644 --- a/web/load.js +++ b/web/load.js @@ -28,6 +28,10 @@ debugMode = document.getElementById('loadScript').getAttribute('mode') === 'debug'; touchMode = 'ontouchstart' in window || navigator.maxTouchPoints; + window.updateNotificationToken = function (token) { + Traccar.app.updateNotificationToken(token); + }; + locale = {}; window.Locale = locale; @@ -162,8 +166,6 @@ addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/triton/resources/charts-all.css'); - addStyleFile('//use.fontawesome.com/releases/v' + fontAwesomeVersion + '/css/all.css'); - addStyleFile('//cdnjs.cloudflare.com/ajax/libs/ol3/' + olVersion + '/ol.css'); if (debugMode) { addScriptFile('//cdnjs.cloudflare.com/ajax/libs/ol3/' + olVersion + '/ol-debug.js'); |