mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Run mouseup event only once for tournaments draggable box (#754)
This commit is contained in:
committed by
Guangcong Luo
parent
15083b53ce
commit
601b2f52d8
@@ -75,7 +75,7 @@
|
||||
});
|
||||
}
|
||||
$(document).on('mousemove', mouseMoveCallback)
|
||||
.on('mouseup', function () {
|
||||
.one('mouseup', function () {
|
||||
$(document).off('mousemove', mouseMoveCallback);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user