Skip to content

Commit fa61d48

Browse files
committed
Remove search label from search field when moved into search result
1 parent 78d6885 commit fa61d48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/ddbasic.search.js

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
var search = $('.search-field-wrapper');
88
search.addClass('search-field-in-content');
99
search.addClass('js-search-field-in-content');
10+
11+
// Remove label.
12+
search.find('.label-search').remove();
13+
14+
// Add the search field.
1015
search.insertAfter('.pane-search-result-count');
1116

1217
// Ensure that the spinner and other stuff works by wrapping it in a

0 commit comments

Comments
 (0)