diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:12:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:12:32 +1300 |
commit | 086faa072ddd3e16c28c2ceaceaa90f32a05f7f9 (patch) | |
tree | b34ac007e7729a582348e28136bff652835ec2fe /web/app/view/LoginController.js | |
parent | 48f981a2a9755fb0af6497020e499bb0883e0e1f (diff) | |
download | trackermap-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.js | 4 |
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; |