From 2de99a83b3c45bc15faed44a1b248d56698b292b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 14 Apr 2021 22:54:28 -0700 Subject: Fix style issues --- web/app/controller/Root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/controller') diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index c16fd37a..65b56fa6 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -123,7 +123,7 @@ Ext.define('Traccar.controller.Root', { if (passwordReset) { dialog = Ext.Msg.prompt(Strings.loginReset, Strings.userPassword, function (btn, text) { dialog.textField.inputEl.dom.type = 'text'; - if (btn == 'ok') { + if (btn === 'ok') { Ext.Ajax.request({ scope: this, method: 'POST', -- cgit v1.2.3