Don't immediately close context menu in Firefox

This commit is contained in:
James Allen 2014-07-28 16:23:46 +01:00
parent a5267184ab
commit 3a3933dfe9

View file

@ -29,7 +29,8 @@ define [
@openContextMenu(e.domEvent)
$(document).on "click", (e) =>
@closeContextMenu(e)
if e.which != 3 # Ignore if this was a right click
@closeContextMenu(e)
return true
@$scope.replaceWord = (highlight, suggestion) =>