Issue #2914710 by droplet: JS codestyle: padded-blocks

8.5.x
Alex Pott 2017-10-11 12:11:05 +01:00
parent 4d263489bf
commit 2656a846ca
3 changed files with 0 additions and 3 deletions

View File

@ -22,7 +22,6 @@
"array-callback-return": "off",
"vars-on-top": "off",
"prefer-rest-params": "off",
"padded-blocks": "off",
"prefer-const": "off"
}
}

View File

@ -297,5 +297,4 @@
* is already in the URL.
*/
$(document).on('click.form-fragment', 'a[href*="#"]', debouncedHandleFragmentLinkClickOrHashChange);
}(jQuery, Drupal, Drupal.debounce));

View File

@ -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';