[fix] hide popovers on blur frappe/erpnext#8721 (#3330)
This commit is contained in:
parent
1f47653ca5
commit
743cfc625e
1 changed files with 7 additions and 0 deletions
|
|
@ -3833,6 +3833,13 @@
|
|||
context.triggerEvent('focusout', event);
|
||||
});
|
||||
|
||||
// hack
|
||||
$editable.on('blur', function (event) {
|
||||
setTimeout(function() {
|
||||
$('.note-popover, .note-control-selection').hide();
|
||||
}, 500);
|
||||
});
|
||||
|
||||
if (!options.airMode) {
|
||||
if (options.width) {
|
||||
$editor.outerWidth(options.width);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue