Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rtl lang problem in search box #399

Merged
merged 3 commits into from
Aug 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>