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

Remove a previous result head, if found.

parent 64f9c40a
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ UNL_Search.onSearchComplete = function(control, searcher) {
if (searcher.cursor.estimatedResultCount) {
var $resultHead = $("<div />").addClass('result_head').text('About ' + searcher.cursor.estimatedResultCount + ' results');
$('.result_head', control.root).remove();
$('.gsc-results', control.root).before($resultHead);
}
......
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