mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
fix bug when releasing outside of table
This commit is contained in:
@@ -747,7 +747,8 @@ $(function () {
|
|||||||
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
$rows.on("pointerenter", onChangeSelection);
|
$rows.on("pointerenter", onChangeSelection);
|
||||||
}).on("pointerup", function(ev) {
|
|
||||||
|
$(document).one("pointerup", function(ev) {
|
||||||
if (onChangeSelectionHappened) {
|
if (onChangeSelectionHappened) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
onChangeSelectionHappened = false;
|
onChangeSelectionHappened = false;
|
||||||
@@ -755,6 +756,8 @@ $(function () {
|
|||||||
}
|
}
|
||||||
$rows.off("pointerenter", onChangeSelection);
|
$rows.off("pointerenter", onChangeSelection);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
var update = function () {
|
var update = function () {
|
||||||
var all_same;
|
var all_same;
|
||||||
|
|||||||
Reference in New Issue
Block a user