mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Ignore right and middle mouse buttons
This commit is contained in:
@@ -400,9 +400,11 @@ var that, x, y; // em and tablePos defined in schema.inc.php
|
|||||||
* @param MouseEvent
|
* @param MouseEvent
|
||||||
*/
|
*/
|
||||||
function schemaMousedown(el, event) {
|
function schemaMousedown(el, event) {
|
||||||
that = el;
|
if ((event.which ? event.which : event.button) == 1) {
|
||||||
x = event.clientX - el.offsetLeft;
|
that = el;
|
||||||
y = event.clientY - el.offsetTop;
|
x = event.clientX - el.offsetLeft;
|
||||||
|
y = event.clientY - el.offsetTop;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Move object
|
/** Move object
|
||||||
|
Reference in New Issue
Block a user