From: Radek Czajka Date: Tue, 7 Sep 2021 07:37:12 +0000 (+0200) Subject: Fix theme editing. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/2e7d5de06db6bc8692b4f9fd9ebed75d6f0f0b8a Fix theme editing. --- diff --git a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js index 4554bbe7..54925897 100644 --- a/src/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/src/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -237,7 +237,7 @@ spoint.insertNode(btag[0]) btag.replaceWith(text); selection.removeAllRanges(); - openForEdit($('.motyw[theme-class="' + id + '"]')); + openForEdit($('[x-node="motyw"][theme-class="' + id + '"]')); } }); }