mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
Fix annoying bug on macOS devices where context menu hides as soon as it shows up.
This commit is contained in:
parent
48a721adda
commit
68bc0383f4
@ -1056,12 +1056,12 @@ function stopEvent() {
|
||||
event.stopPropagation();
|
||||
}
|
||||
function rangeMouseUp(e) {
|
||||
if ($(".table-context-menu").length > 0) {
|
||||
$(".table-context-menu").fadeOut("fast");
|
||||
}
|
||||
if (isRightClick(e)) {
|
||||
return;
|
||||
}
|
||||
if ($(".table-context-menu").length > 0) {
|
||||
$(".table-context-menu").fadeOut("fast");
|
||||
}
|
||||
isDragging = false;
|
||||
document.documentElement.onselectstart = function () { return true; };
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user