Skip to content
Snippets Groups Projects
Commit 93a8d4a7 authored by Justin Toupin's avatar Justin Toupin
Browse files

Minor JS fix - issue with escape button while using keyboard nav

parent 5ce68599
No related branches found
No related tags found
1 merge request!103Issue #3295875: Add a new dedicated permission for Layout paragraphs configurations
...@@ -225,13 +225,13 @@ ...@@ -225,13 +225,13 @@
} }
function stopNav($item) { function stopNav($item) {
$item $item
.removeClass('is-navigating')
.closest('.lp-builder')
.removeClass('is-navigating') .removeClass('is-navigating')
.attr('aria-describedby', '') .attr('aria-describedby', '')
.find('.js-lpb-tooltiptext') .find('.js-lpb-tooltiptext')
.remove() .remove();
$item
.closest(`[${idAttr}]`) .closest(`[${idAttr}]`)
.removeClass('is-navigating')
.find('.lpb-navigating-placeholder') .find('.lpb-navigating-placeholder')
.remove(); .remove();
} }
......
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