瀏覽代碼

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

maTh 3 年之前
父節點
當前提交
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) {