]> git.wh0rd.org Git - tt-rss.git/commitdiff
genUrlChangeKey: fix href rewriting
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 2 Apr 2011 07:09:06 +0000 (11:09 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 2 Apr 2011 07:09:06 +0000 (11:09 +0400)
functions.js

index ba82ebe111b731214231bca2e0c28864cf406358..9352984be6da65257d0eda8916fef51196cfdc16 100644 (file)
@@ -1177,8 +1177,8 @@ function genUrlChangeKey(feed, is_cat) {
                                                        e.innerHTML = e.innerHTML.replace(/\&amp;key=.*$/,
                                                                "&amp;key=" + new_link);
 
-                                                       e.href = e.href.replace(/\&amp;key=.*$/,
-                                                               "&amp;key=" + new_link);
+                                                       e.href = e.href.replace(/\&key=.*$/,
+                                                               "&key=" + new_link);
 
                                                        new Effect.Highlight(e);