Skip to content

Commit

Permalink
Fix rtl lang problem in search box (#399)
Browse files Browse the repository at this point in the history
Adds auto dir to index, search and header input html
  • Loading branch information
alefvanoon authored Aug 30, 2021
1 parent 388f51c commit be3714f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
class="noHIxc"
name="q"
type="text"
value="{{ clean_query(query) }}">
value="{{ clean_query(query) }}"
dir="auto">
<input id="search-reset" type="reset" value="x">
<input name="tbm" value="{{ search_type }}" style="display: none">
<input type="submit" style="display: none;">
Expand Down Expand Up @@ -51,7 +52,8 @@
name="q"
spellcheck="false"
type="text"
value="{{ clean_query(query) }}">
value="{{ clean_query(query) }}"
dir="auto">
<input name="tbm" value="{{ search_type }}" style="display: none">
<input type="submit" style="display: none;">
<div class="sc"></div>
Expand Down
3 changes: 2 additions & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
autocapitalize="none"
spellcheck="false"
autocorrect="off"
autocomplete="off">
autocomplete="off"
dir="auto">
</div>
<input type="submit" id="search-submit" value="{{ translation['search'] }}">
</div>
Expand Down
3 changes: 2 additions & 1 deletion app/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
spellcheck="false"
autocorrect="off"
placeholder="Whoogle Search"
autocomplete="off">
autocomplete="off"
dir="auto">
<input type="submit" style="width: 9%" id="search-submit" value="Search">
</form>

0 comments on commit be3714f

Please sign in to comment.