summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-09-28 16:08:29 (GMT)
committerAlex Pott2013-09-28 16:08:29 (GMT)
commite4783d5caeeb37487cb465203549ab35d8d54395 (patch)
tree9aac44b202d4a425317ebcd43e7f5b3474a7adb3
parent820205f13fe749b446a7cd77261afc0ae0c5dc60 (diff)
Issue #1606110 by greenrover33, nod_: Fixed Exception thrown in collapse.js by .after(' ') breaks CKEditor display in term edit pages.
-rw-r--r--core/misc/collapse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/misc/collapse.js b/core/misc/collapse.js
index 5622d08..55402c3 100644
--- a/core/misc/collapse.js
+++ b/core/misc/collapse.js
@@ -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>')