Commit e4783d5c authored by alexpott's avatar alexpott

Issue #1606110 by greenrover33, nod_: Fixed Exception thrown in collapse.js by...

Issue #1606110 by greenrover33, nod_: Fixed Exception thrown in collapse.js by .after(' ') breaks CKEditor display in term edit pages.
parent 820205f1
......@@ -63,7 +63,7 @@ $.extend(CollapsibleDetails.prototype, {
$('<span class="details-summary-prefix visually-hidden"></span>')
.append(this.$node.attr('open') ? Drupal.t('Hide') : Drupal.t('Show'))
.prependTo($legend)
.after(' ');
.after(document.createTextNode(' '));
// .wrapInner() does not retain bound events.
$('<a class="details-title"></a>')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment