File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ limitations under the License.
27
27
}
28
28
29
29
var query = $ ( this ) . val ( ) ;
30
- var searchPage = "{{ " search / " | relLangURL }}?q=" + query ;
31
- console . log ( searchPage ) ;
30
+ var searchPage = $ ( this ) . data ( 'search-page' ) + "?q=" + query ;
32
31
document . location = searchPage ;
33
32
34
33
return false ;
Original file line number Diff line number Diff line change 1
1
< div class ="add-search-icon ">
2
- < input type ="search " class ="form-control td-search-input " placeholder ="{{ T "ui_search " }}" aria-label="{{ T "ui_search " }}" autocomplete="off ">
2
+ < input type ="search " data-search-page =" {{ " search /" | relLangURL }}" class="form-control td-search-input " placeholder ="{{ T "ui_search " }}" aria-label="{{ T "ui_search " }}" autocomplete="off ">
3
3
< svg xmlns ="http://www.w3.org/2000/svg " role ="img " viewBox ="0.88 0.63 32.17 30.24 "> < g opacity =".945 "> < path stroke ="#000 " stroke-width ="4.392 " d ="M13.746 23.279c5.536 0 10.024-4.432 10.024-9.9 0-5.466-4.488-9.898-10.024-9.898-5.536 0-10.024 4.432-10.024 9.899 0 5.467 4.488 9.899 10.024 9.899zm6.56-5.069l10.652 10.52 " fill ="transparent " /> </ g > </ svg >
4
4
</ div >
You can’t perform that action at this time.
0 commit comments