mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove unused attributes
This commit is contained in:
parent
48ba6080ea
commit
7d4676232b
@ -49,9 +49,8 @@ class SearchPanel:
|
|||||||
search_button = create_button(_('Search'), icon='search', action=self.execute_search.bind(self), tooltip=_('Do the search'))
|
search_button = create_button(_('Search'), icon='search', action=self.execute_search.bind(self), tooltip=_('Do the search'))
|
||||||
search_container.appendChild(E.div(style="display: flex; width: 100%;",
|
search_container.appendChild(E.div(style="display: flex; width: 100%;",
|
||||||
E.input(
|
E.input(
|
||||||
type='search', autosave='search-for-books-in-main-calibre-booklist', name='search-books',
|
type='search', name='search-books',
|
||||||
autocomplete='on', inputmode='latin',
|
title=_('Search for books'), placeholder=_('Enter the search query'),
|
||||||
title=_('Search for books'), placeholder=_('Enter the search query'), spellcheck='false',
|
|
||||||
style="flex-grow: 10; padding: {} 0.5em; margin-right: 0.5em".format(BUTTON_VPADDING), onkeydown=self.on_input_keydown.bind(self),
|
style="flex-grow: 10; padding: {} 0.5em; margin-right: 0.5em".format(BUTTON_VPADDING), onkeydown=self.on_input_keydown.bind(self),
|
||||||
),
|
),
|
||||||
search_button
|
search_button
|
||||||
|
@ -58,9 +58,8 @@ def create_toc_panel(book, container, onclick, onclose):
|
|||||||
container.appendChild(E.div(
|
container.appendChild(E.div(
|
||||||
style='margin: 1ex 1em; display: flex;',
|
style='margin: 1ex 1em; display: flex;',
|
||||||
E.input(
|
E.input(
|
||||||
type='search', autosave='search-toc-in-calibre-book-reader', name='toc-serach',
|
type='search', name='toc-serach',
|
||||||
autocomplete='on', inputmode='latin',
|
title=_('Search Table of Contents'), placeholder=_('Search Table of Contents'),
|
||||||
title=_('Search Table of Contents'), placeholder=_('Search Table of Contents'), spellcheck='false',
|
|
||||||
style="flex-grow: 10; margin-right: 0.5em", onkeydown=on_input_keydown,
|
style="flex-grow: 10; margin-right: 0.5em", onkeydown=on_input_keydown,
|
||||||
),
|
),
|
||||||
E.div(class_='simple-link', svgicon('search'), onclick=on_search_click)
|
E.div(class_='simple-link', svgicon('search'), onclick=on_search_click)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user