File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/templates/pages/reference Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -61,19 +61,11 @@ slug: reference/
6161 }
6262 });
6363
64- function removePlaceholder () {
65- $ (' #search input' ).attr (' placeholder' , ' ' );
66- }
67-
6864 function updateLanguage () {
6965 if (translations) {
7066 // reference title
7167 $ (' h1' ).html (translations[' h1' ]);
7268 $ (' #search input' ).attr (' placeholder' , translations[' reference-search' ]);
73- $ (' #search input' ).on (' focus' , removePlaceholder);
74- $ (' #search input' ).focusout (function () {
75- $ (' #search input' ).attr (' placeholder' , translations[' reference-search' ]);
76- })
7769 $ (' #search input' ).attr (' title' , translations[' reference-search' ]);
7870 // reference description
7971 $ (' #reference-description1' ).html (translations[' reference-description1' ]);
You can’t perform that action at this time.
0 commit comments