Updates translation, fixes #2185
[redakcja.git] / redakcja / static / js / wiki / view_editor_wysiwyg.js
index 3ccaea7..ac6724a 100644 (file)
                     }
                 }
                 
-                $(specialCharsContainer).remove();
             });         
             $('#specialCharsClose').click(function(){
                 $(specialCharsContainer).remove();
                 });
 
                 $(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();