changeset 927:de4a34a2057c draft

Ctrl-Click suppress pjaxViewer
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 18 Jan 2021 13:06:59 +0900
parents ef84fef0cec8
children a3623f901e32
files s4-main.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/s4-main.js	Fri Jan 15 10:31:54 2021 +0900
+++ b/s4-main.js	Mon Jan 18 13:06:59 2021 +0900
@@ -308,6 +308,7 @@
 	})
     }
     function pjaxView(ev, url, mynum) {
+	if (ev.ctrlKey) return;
 	ev.preventDefault();
 	let box = document.createElement("div")
 	box.setAttribute("class", "pjaxview");

yatex.org