Issue #2914710 by droplet: JS codestyle: padded-blocks
parent
4d263489bf
commit
2656a846ca
|
@ -22,7 +22,6 @@
|
|||
"array-callback-return": "off",
|
||||
"vars-on-top": "off",
|
||||
"prefer-rest-params": "off",
|
||||
"padded-blocks": "off",
|
||||
"prefer-const": "off"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -297,5 +297,4 @@
|
|||
* is already in the URL.
|
||||
*/
|
||||
$(document).on('click.form-fragment', 'a[href*="#"]', debouncedHandleFragmentLinkClickOrHashChange);
|
||||
|
||||
}(jQuery, Drupal, Drupal.debounce));
|
||||
|
|
|
@ -159,7 +159,6 @@
|
|||
* @listens event:drupalContextualLinkAdded
|
||||
*/
|
||||
$(document).on('drupalContextualLinkAdded', (event, data) => {
|
||||
|
||||
// When the first contextual link is added to the page set Edit Mode.
|
||||
$('body').once('settings_tray.edit_mode_init').each(() => {
|
||||
const editMode = localStorage.getItem('Drupal.contextualToolbar.isViewing') === 'false';
|
||||
|
|
Loading…
Reference in New Issue