From 677f87cc48ea9c54bcfdf35412a06f8def139ea5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 19 Mar 2013 15:04:17 +0100 Subject: [PATCH] Fixes #2199 --- redakcja/static/js/wiki/view_editor_wysiwyg.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.20.1