From b3118d5ccde966efc9972e336c11513fec8f31f4 Mon Sep 17 00:00:00 2001 From: Sefa Ilkimen Date: Tue, 6 Dec 2016 16:05:48 +0100 Subject: [PATCH] =?UTF-8?q?removed=20=E2=80=9EString.prototype.startsWith?= =?UTF-8?q?=E2=80=9C=20call=20to=20be=20compatible=20with=20older=20web=20?= =?UTF-8?q?view=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/local-storage-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }