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
|
||||
*/
|
||||
function schemaMousedown(el, event) {
|
||||
that = el;
|
||||
x = event.clientX - el.offsetLeft;
|
||||
y = event.clientY - el.offsetTop;
|
||||
if ((event.which ? event.which : event.button) == 1) {
|
||||
that = el;
|
||||
x = event.clientX - el.offsetLeft;
|
||||
y = event.clientY - el.offsetTop;
|
||||
}
|
||||
}
|
||||
|
||||
/** Move object
|
||||
|
Reference in New Issue
Block a user