From 976c42e83a545892e1a0a38ed8a3ffe45376db37 Mon Sep 17 00:00:00 2001 From: Juraj Michalek Date: Mon, 23 Dec 2013 11:57:06 +0100 Subject: [PATCH] add missing var --- angular-local-storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angular-local-storage.js b/angular-local-storage.js index 4556762..15a31c8 100644 --- a/angular-local-storage.js +++ b/angular-local-storage.js @@ -295,7 +295,7 @@ angularLocalStorage.provider('localStorageService', function(){ thisCookie = thisCookie.substring(1, thisCookie.length); } - key = thisCookie.substring(prefixLength, thisCookie.indexOf('=')); + var key = thisCookie.substring(prefixLength, thisCookie.indexOf('=')); removeFromCookies(key); } };