- // Update the view of the trigger.
- this.$el.find('.trigger')
- .text(Drupal.t('@action @title configuration options', {
- '@action': (!isOpen) ? this.options.strings.open : this.options.strings.close,
- '@title': this.model.get('title')
- }))
- .attr('aria-pressed', isOpen);
+ this.$el.find('.trigger').text(Drupal.t('@action @title configuration options', {
+ '@action': !isOpen ? this.options.strings.open : this.options.strings.close,
+ '@title': this.model.get('title')
+ })).attr('aria-pressed', isOpen);