diff --git a/core/modules/settings_tray/js/settings_tray.es6.js b/core/modules/settings_tray/js/settings_tray.es6.js index b4edd84..321bc3c 100644 --- a/core/modules/settings_tray/js/settings_tray.es6.js +++ b/core/modules/settings_tray/js/settings_tray.es6.js @@ -82,8 +82,8 @@ // Use event capture to prevent clicks on links. document.querySelector('[data-off-canvas-main-canvas]').addEventListener('click', preventClick, true); - // When a click occurs try and find the settings-tray edit link - // and click it. + // When a click occurs try and find the settings-tray edit + // link and click it. $editables .not(contextualItemsSelector) .on('click.settingstray', (e) => { @@ -175,9 +175,9 @@ */ Drupal.attachBehaviors(data.$el[0]); /** - * Bind a listener to all 'Quick edit' links for blocks. Click "Edit" button - * in toolbar to force Contextual Edit which starts Settings Tray edit - * mode also. + * Bind a listener to all 'Quick edit' links for blocks. + * Click "Edit" button in toolbar to force Contextual Edit + * which starts Settings Tray edit mode also. */ data.$el.find(blockConfigureSelector) .on('click.settingstray', () => { @@ -202,7 +202,8 @@ }); /** - * Toggle the js-settings-tray-edit-mode class on items that we want to disable while in edit mode. + * Toggle the js-settings-tray-edit-mode class on items that + * we want to disable while in edit mode. * * @type {Drupal~behavior} * @@ -214,8 +215,8 @@ $(toggleEditSelector).once('settingstray').on('click.settingstray', toggleEditMode); // Find all Ajax instances that use the 'off_canvas' renderer. Drupal.ajax.instances - // If there is an element and the renderer is 'off_canvas' then we want - // to add our changes. + // If there is an element and the renderer is 'off_canvas' + // then we want to add our changes. .filter(instance => instance && $(instance.element).attr('data-dialog-renderer') === 'off_canvas') // Loop through all Ajax instances that use the 'off_canvas' renderer to // set active editable ID.