From cf0c7c86adcefde90be04baed1c0dcae9e0b24a5 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 29 Dec 2013 02:29:53 +0100 Subject: [PATCH] watch.js: fix previous commit --- js/watch.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/watch.js b/js/watch.js index fb961411..cda38ee7 100644 --- a/js/watch.js +++ b/js/watch.js @@ -1,6 +1,9 @@ $(function(){ // migrate from old name - if (typeof localStorage.watch == "string") { localStorage.watch_js = localStorage.watch; } + if (typeof localStorage.watch == "string") { + localStorage.watch_js = localStorage.watch; + delete localStorage.watch; + } var status = {};