diff options
| author | czaks <marcin@6irc.net> | 2013-12-29 02:29:53 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-12-29 02:29:53 +0100 |
| commit | cf0c7c86adcefde90be04baed1c0dcae9e0b24a5 (patch) | |
| tree | fbd5a6f561e6259cb7e9e8c9131b04f868e3a89a | |
| parent | 095378a98f6c3a6db42cb79f5c7d697054f6bb49 (diff) | |
watch.js: fix previous commit
| -rw-r--r-- | js/watch.js | 5 |
1 files changed, 4 insertions, 1 deletions
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 = {}; |
