Even more linting of JS files.

This commit is contained in:
jgen
2014-04-24 00:55:14 -04:00
parent a105090039
commit 4b90faf89d
6 changed files with 25 additions and 19 deletions

View File

@ -141,7 +141,7 @@ function getHTTPObject() {
function getCookie( name ) {
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) && ( name != document.cookie.substring( 0, name.length ) ) ) {
if ( ( !start ) && ( name !== document.cookie.substring( 0, name.length ) ) ) {
return null;
}
if ( start === -1 ) { return null; }