In the file: webform.element.chosen.js

  /**
   * Initialize Chosen support.
   *
   * @type {Drupal~behavior}
   */
  Drupal.behaviors.webformChosem = {
    attach: function (context) {
      if (!$.fn.chosen) {
        return;
      }

Surely this should be: "Drupal.behaviors.webformChosen = {"
Or else it's named rather confusingly.

Comments

simohell created an issue. See original summary.

simohell’s picture

Issue summary: View changes
ziomizar’s picture

Issue tags: +Novice

  • 98915b7 committed on 8.x-5.x
    Issue #2904940 by simohell: Typo in webform.element.chosen.js ?
    
jrockowitz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.