X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=js%2Ftt-rss.js;h=13181c4212c5de1bad21b50162d631a4edae2094;hb=e5e2cf3b88a33594777a5487f400e9c93d6b82cd;hp=78f7a867d07cd41d14b976538d8ee85531f918b5;hpb=1b03e1deb6b3947f95e42c68cf95fa76ecf66162;p=tt-rss.git diff --git a/js/tt-rss.js b/js/tt-rss.js index 78f7a867..13181c42 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -366,6 +366,17 @@ function init_second_stage() { if ('sessionStorage' in window && window['sessionStorage'] !== null) sessionStorage.clear(); + var hotkeys = getInitParam("hotkeys"); + var tmp = []; + + for (sequence in hotkeys[1]) { + filtered = sequence.replace(/\|.*$/, ""); + tmp[filtered] = hotkeys[1][sequence]; + } + + hotkeys[1] = tmp; + setInitParam("hotkeys", hotkeys); + console.log("second stage ok"); } catch (e) {