4
0
Эх сурвалжийг харах

open "manage feed" with Ctrl in a new tab (#4980)

maTh 3 жил өмнө
parent
commit
ba7cb98bdf
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      p/scripts/extra.js

+ 3 - 0
p/scripts/extra.js

@@ -145,6 +145,9 @@ function init_archiving(parent) {
 const freshrssSliderLoadEvent = new Event('freshrss:slider-load');
 
 function open_slider_listener(ev) {
+	if (ev.ctrlKey || ev.shiftKey) {
+		return;
+	}
 	const a = ev.target.closest('.open-slider');
 	if (a) {
 		if (!context.ajax_loading) {