We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b930a0 commit a97abccCopy full SHA for a97abcc
publishing/webhelpBlogTemplate/resources/js/search-nav.js
@@ -5,6 +5,18 @@ document.addEventListener('DOMContentLoaded', function () {
5
const searchContainer = document.querySelector('.wh_search_input');
6
const topMenuContainer = document.querySelector('.wh_top_menu_and_indexterms_link');
7
8
+ // creeaza butonul
9
+ const newButton = document.createElement("button");
10
+ newButton.textContent = "";
11
+ newButton.type = "button";
12
+
13
+ // seteaza stilurile
14
+ newButton.style.width = "150px";
15
+ newButton.style.display = "none";
16
17
+ // adauga în formular
18
+ searchForm.appendChild(newButton);
19
20
function showSearch() {
21
if (!searchIcon || !searchForm || !searchContainer || !topMenuContainer) return;
22
0 commit comments