From: Andrew Dolgov Date: Sat, 2 Apr 2011 07:09:06 +0000 (+0400) Subject: genUrlChangeKey: fix href rewriting X-Git-Tag: 1.5.3~76 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6c0ba5b6676176cf648e73e94519a6e48c12b35c;p=tt-rss.git genUrlChangeKey: fix href rewriting --- diff --git a/functions.js b/functions.js index ba82ebe1..9352984b 100644 --- a/functions.js +++ b/functions.js @@ -1177,8 +1177,8 @@ function genUrlChangeKey(feed, is_cat) { e.innerHTML = e.innerHTML.replace(/\&key=.*$/, "&key=" + new_link); - e.href = e.href.replace(/\&key=.*$/, - "&key=" + new_link); + e.href = e.href.replace(/\&key=.*$/, + "&key=" + new_link); new Effect.Highlight(e);