Skip to content

Commit

Permalink
Code edits
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Sep 18, 2014
1 parent 4f57c6e commit d367af0
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -92,11 +92,9 @@ function (util, cookie, DropDownLayout) {
var newCookieValue = '/en/'+translateRequested;
var oldCookieValues = cookie.read('googtrans');
var oldCookieCount = oldCookieValues.length;
console.log(oldCookieCount);
var mismatch = false;
while (oldCookieCount > 0) {
if (newCookieValue !== decodeURIComponent(oldCookieValues[--oldCookieCount])) {
console.log('was a mismatch', newCookieValue, oldCookieCount, oldCookieValues[oldCookieCount]);
mismatch = true;
}
}
Expand Down

0 comments on commit d367af0

Please sign in to comment.