Fix comment edit
This commit is contained in:
parent
51707df439
commit
a5f6d32977
2 changed files with 5 additions and 2 deletions
|
@ -167,7 +167,7 @@
|
|||
afterOpen: function () {
|
||||
register_dmmd_preview($('#id-edit-comment-body-preview'));
|
||||
if ('DjangoPagedown' in window) {
|
||||
var $wmd = $('.featherlight .wmd-input');
|
||||
var $wmd = $('.featherlight .wmd-wrapper');
|
||||
if ($wmd.length) {
|
||||
window.DjangoPagedown.createEditor($wmd.get(0));
|
||||
if ('MathJax' in window) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue