changeset 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 b78409b5a3b9
files s4-main.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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