1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

No AJAX for right-click

This commit is contained in:
Jakub Vrana
2010-12-06 01:13:03 +01:00
parent 5f9282f132
commit 694a3420fa

View File

@@ -377,6 +377,9 @@ function selectDblClick(td, event, text) {
* @return bool
*/
function bodyClick(event, db, ns) {
if (event.button) {
return;
}
if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false) {
return false;
}