Permalink
Browse files

one more tweak on backwards compat

  • Loading branch information...
1 parent 2ac8b6b commit b3ce525205d86684bf323e3ec14dfb66b28f054b @clipperhouse committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/background.html
View
@@ -106,7 +106,7 @@
var storagekey = "refreshurl." + q;
var qs;
- if (q.startsWith("@") && localStorage[storagekey.remove("@")]) { // backwards compat issue
+ if (q.startsWith("@") && localStorage[storagekey.remove("@")] && !localStorage[storagekey]) { // backwards compat issue
qs = localStorage[storagekey.remove("@")].replace("q=" + q.remove("@"), "q=" + q)
} else {
qs = localStorage[storagekey] || "?q=" + encodeURIComponent(q) + "&rpp=100";

0 comments on commit b3ce525

Please sign in to comment.