Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Fixed tinymce initialization - task #9316
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanov committed Jan 4, 2019
1 parent 58ec921 commit d25ef1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webroot/js/tinymce.init.js
Expand Up @@ -14,8 +14,8 @@
// fix issue with link/image pop-up fields not working when tinymce is loaded within bootstrap modal
// @link https://github.com/tinymce/tinymce/issues/782#issuecomment-151998981
$(document).on('focusin', function (e) {
if ($(event.target).closest('.mce-window').length) {
if ($(e.target).closest('.mce-window').length) {
e.stopImmediatePropagation();
}
});
})(jQuery);
})(jQuery);

0 comments on commit d25ef1b

Please sign in to comment.