diff --git a/www/local-storage-store.js b/www/local-storage-store.js index 353d820..044e7ca 100644 --- a/www/local-storage-store.js +++ b/www/local-storage-store.js @@ -98,7 +98,7 @@ WebStorageCookieStore.prototype._isOnPath = function(cookiePath, urlPath) { return true; } - if (!urlPath.startsWith(cookiePath)) { + if (urlPath.indexOf(cookiePath) !== 0) { return false; }