s4

diff s4-main.js @ 928:a3623f901e32

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 diff
     1.1 --- a/s4-main.js	Mon Jan 18 13:06:59 2021 +0900
     1.2 +++ b/s4-main.js	Mon Jan 18 13:08:03 2021 +0900
     1.3 @@ -308,7 +308,7 @@
     1.4  	})
     1.5      }
     1.6      function pjaxView(ev, url, mynum) {
     1.7 -	if (ev.ctrlKey) return;
     1.8 +	if (ev.ctrlKey||ev.shiftKey) return;
     1.9  	ev.preventDefault();
    1.10  	let box = document.createElement("div")
    1.11  	box.setAttribute("class", "pjaxview");