diff --git a/www/common/toolbar.js b/www/common/toolbar.js index 439ee74bc..3cbe4fd5f 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -887,13 +887,11 @@ MessengerUI, Messages, Pages, PadTypes) { const $firstFocusable = $targetElement.find('a, button, input, select, textarea, [tabindex]:not([tabindex="-1"]), [contenteditable="true"]').first(); if ($firstFocusable.length) { $firstFocusable.trigger('focus'); + } else { + $skipLink.hide(); } return true; }); - - - /* - */ }); return $skipLink; };