Skip to content
Snippets Groups Projects
Commit 2656a846 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 4d263489
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment