From: Aleksander Ɓukasz Date: Thu, 21 Mar 2013 11:45:23 +0000 (+0100) Subject: Fixes #1539 X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/47ddd88e89dbe2e98b457d1849e700dc22473ac7 Fixes #1539 --- diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index 3a5c4113..1b755001 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -37,7 +37,7 @@ } // don't allow themes inside annotations - if (node.is('*[x-annotation-box] *')) + if (node.closest('[x-node="pe"]').length > 0) return false; return true;