aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/LoginController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:12:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:12:32 +1300
commit086faa072ddd3e16c28c2ceaceaa90f32a05f7f9 (patch)
treeb34ac007e7729a582348e28136bff652835ec2fe /web/app/view/LoginController.js
parent48f981a2a9755fb0af6497020e499bb0883e0e1f (diff)
downloadtrackermap-server-086faa072ddd3e16c28c2ceaceaa90f32a05f7f9.tar.gz
trackermap-server-086faa072ddd3e16c28c2ceaceaa90f32a05f7f9.tar.bz2
trackermap-server-086faa072ddd3e16c28c2ceaceaa90f32a05f7f9.zip
Ignore or fix JSHint issues
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;