diff options
-rw-r--r-- | web/app/view/dialog/LoginController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/dialog/LoginController.js b/web/app/view/dialog/LoginController.js index 3b1adbd..5767a4b 100644 --- a/web/app/view/dialog/LoginController.js +++ b/web/app/view/dialog/LoginController.js @@ -33,12 +33,12 @@ Ext.define('Traccar.view.dialog.LoginController', { var element = document.createElement('div'); element.id = 'update'; element.innerHTML = 'Switch to <a href="/modern/">modern interface</a>'; - document.getElementsByTagName("body")[0].appendChild(element); + document.getElementsByTagName('body')[0].appendChild(element); }, handleRemoved: function () { var element = document.getElementById('update'); - document.getElementsByTagName("body")[0].removeChild(element); + document.getElementsByTagName('body')[0].removeChild(element); }, login: function () { |