diff s4-main.js @ 928:a3623f901e32 draft

Shift-Click also suppress pjaxViewer
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 18 Jan 2021 13:08:03 +0900
parents de4a34a2057c
children 1221335459c6
line wrap: on
line diff
--- a/s4-main.js	Mon Jan 18 13:06:59 2021 +0900
+++ b/s4-main.js	Mon Jan 18 13:08:03 2021 +0900
@@ -308,7 +308,7 @@
 	})
     }
     function pjaxView(ev, url, mynum) {
-	if (ev.ctrlKey) return;
+	if (ev.ctrlKey||ev.shiftKey) return;
 	ev.preventDefault();
 	let box = document.createElement("div")
 	box.setAttribute("class", "pjaxview");

yatex.org