mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
Merge pull request #776 from hargata/Hargata/745
Fix annoying bug on macOS devices where context menu hides as soon as…
This commit is contained in:
commit
e13707305b
@ -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