watch.js: fix previous commit

This commit is contained in:
czaks 2013-12-29 02:29:53 +01:00
parent 095378a98f
commit cf0c7c86ad

View File

@ -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 = {};