1
0
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:
Jakub Vrana
2012-03-06 08:24:33 -08:00
parent 405ad5f07e
commit 2dcfb70d08

View File

@@ -400,10 +400,12 @@ var that, x, y; // em and tablePos defined in schema.inc.php
* @param MouseEvent
*/
function schemaMousedown(el, event) {
if ((event.which ? event.which : event.button) == 1) {
that = el;
x = event.clientX - el.offsetLeft;
y = event.clientY - el.offsetTop;
}
}
/** Move object
* @param MouseEvent