From: Aleksander Ɓukasz Date: Tue, 19 Mar 2013 14:04:17 +0000 (+0100) Subject: Fixes #2199 X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/677f87cc48ea9c54bcfdf35412a06f8def139ea5?ds=inline;hp=c73940c1babe80cf7a6dd46854dca1543905ae7a Fixes #2199 --- diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index 3ccaea71..ac6724a2 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -307,7 +307,6 @@ } } - $(specialCharsContainer).remove(); }); $('#specialCharsClose').click(function(){ $(specialCharsContainer).remove(); @@ -516,7 +515,7 @@ }); $(document).bind('click.blur-overlay', function(event){ - if ($(event.target).parents('.html-editarea').length > 0) { + if ($(event.target).closest('.html-editarea, #specialCharsContainer').length > 0) { return; } save();