Skip to content
Snippets Groups Projects
Commit fa9c8edf authored by Kevin Abel's avatar Kevin Abel
Browse files

Ensure the no-results appears in the active search DOM root

parent 5252793d
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@
});
$('img.gcsc-branding-img-noclear', $root).attr('alt', 'Google™');
if (!searchToggleLock && control == localSearch && $('.gs-no-results-result').length) {
if (!searchToggleLock && control == localSearch && $('.gs-no-results-result', $root).length) {
$root.closest('.results-group').find('.result-tab li:last-child').click();
return;
}
......
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