aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/LoginController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/LoginController.js')
-rw-r--r--web/app/view/LoginController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/LoginController.js b/web/app/view/LoginController.js
index 011fddc25..05118b170 100644
--- a/web/app/view/LoginController.js
+++ b/web/app/view/LoginController.js
@@ -72,9 +72,9 @@
if (url.indexOf(paramName + '=') >= 0) {
var prefix = url.substring(0, url.indexOf(paramName));
var suffix = url.substring(url.indexOf(paramName));
- suffix = suffix.substring(suffix.indexOf("=") + 1);
+ suffix = suffix.substring(suffix.indexOf('=') + 1);
suffix = (suffix.indexOf('&') >= 0) ? suffix.substring(suffix.indexOf('&')) : '';
- url = prefix + paramName + "=" + paramValue + suffix;
+ url = prefix + paramName + '=' + paramValue + suffix;
} else {
if (url.indexOf('?') < 0) {
url += '?' + paramName + '=' + paramValue;