No AJAX for right-click
This commit is contained in:
parent
5f9282f132
commit
694a3420fa
|
@ -377,6 +377,9 @@ function selectDblClick(td, event, text) {
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function bodyClick(event, db, ns) {
|
function bodyClick(event, db, ns) {
|
||||||
|
if (event.button) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false) {
|
if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue