Commit 0284fcf9 authored by alexpott's avatar alexpott

Issue #1195358 by Liam Morland: Fixed Multiple 'Edit/Hide summary' links appear.

parent 5d2de6c8
......@@ -11,9 +11,9 @@ Drupal.behaviors.textSummary = {
var $widget = $(this).closest('.text-format-wrapper');
var $summary = $widget.find('.text-summary-wrapper');
var $summaryLabel = $summary.find('label');
var $summaryLabel = $summary.find('label').first();
var $full = $widget.find('.text-full').closest('.form-item');
var $fullLabel = $full.find('label');
var $fullLabel = $full.find('label').first();
// Create a placeholder label when the field cardinality is greater
// than 1.
......
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