Explorar el Código

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

maTh hace 3 años
padre
commit
ba7cb98bdf
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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');
 const freshrssSliderLoadEvent = new Event('freshrss:slider-load');
 
 
 function open_slider_listener(ev) {
 function open_slider_listener(ev) {
+	if (ev.ctrlKey || ev.shiftKey) {
+		return;
+	}
 	const a = ev.target.closest('.open-slider');
 	const a = ev.target.closest('.open-slider');
 	if (a) {
 	if (a) {
 		if (!context.ajax_loading) {
 		if (!context.ajax_loading) {