Merge branch 'new_tab_mac_fix' into 'master'

Make "open in new tab" hotkey handler support mac "cmd+click" way (non-expanded mode)

https://tt-rss.org/forum/viewtopic.php?f=10&t=3682

See merge request !25
master
Andrew Dolgov 9 years ago
commit 378873b59a

@ -1755,7 +1755,7 @@ function cdmClicked(event, id) {
try {
//var shift_key = event.shiftKey;
if (!event.ctrlKey) {
if (!event.ctrlKey && !event.metaKey) {
if (!getInitParam("cdm_expanded")) {
return cdmExpandArticle(id);
@ -1824,7 +1824,7 @@ function hlClicked(event, id) {
if (event.which == 2) {
view(id);
return true;
} else if (event.ctrlKey) {
} else if (event.ctrlKey || event.metaKey) {
toggleSelected(id, true);
toggleUnread(id, 0, false);
openArticleInNewWindow(id);

Loading…
Cancel
Save