Skip to content

Commit

Permalink
[PDF] Fix applying font name
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Apr 16, 2024
1 parent 421e333 commit e8e940e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pdfeditor/main/app/controller/DocumentHolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ define([
}
});
meEl.on('mousedown', function(e){
if (e.target.localName == 'canvas')
if (e.target.localName == 'canvas' && $(e.target).closest('[type=menuitem]').length<1)
Common.UI.Menu.Manager.hideAll();
});

Expand Down

0 comments on commit e8e940e

Please sign in to comment.