mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Don't immediately close context menu in Firefox
This commit is contained in:
parent
a5267184ab
commit
3a3933dfe9
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ define [
|
||||||
@openContextMenu(e.domEvent)
|
@openContextMenu(e.domEvent)
|
||||||
|
|
||||||
$(document).on "click", (e) =>
|
$(document).on "click", (e) =>
|
||||||
@closeContextMenu(e)
|
if e.which != 3 # Ignore if this was a right click
|
||||||
|
@closeContextMenu(e)
|
||||||
return true
|
return true
|
||||||
|
|
||||||
@$scope.replaceWord = (highlight, suggestion) =>
|
@$scope.replaceWord = (highlight, suggestion) =>
|
||||||
|
|
Loading…
Reference in a new issue