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_container.appendChild(E.div(style="display: flex; width: 100%;",
|
||||
E.input(
|
||||
type='search', autosave='search-for-books-in-main-calibre-booklist', name='search-books',
|
||||
autocomplete='on', inputmode='latin',
|
||||
title=_('Search for books'), placeholder=_('Enter the search query'), spellcheck='false',
|
||||
type='search', name='search-books',
|
||||
title=_('Search for books'), placeholder=_('Enter the search query'),
|
||||
style="flex-grow: 10; padding: {} 0.5em; margin-right: 0.5em".format(BUTTON_VPADDING), onkeydown=self.on_input_keydown.bind(self),
|
||||
),
|
||||
search_button
|
||||
|
@ -58,9 +58,8 @@ def create_toc_panel(book, container, onclick, onclose):
|
||||
container.appendChild(E.div(
|
||||
style='margin: 1ex 1em; display: flex;',
|
||||
E.input(
|
||||
type='search', autosave='search-toc-in-calibre-book-reader', name='toc-serach',
|
||||
autocomplete='on', inputmode='latin',
|
||||
title=_('Search Table of Contents'), placeholder=_('Search Table of Contents'), spellcheck='false',
|
||||
type='search', name='toc-serach',
|
||||
title=_('Search Table of Contents'), placeholder=_('Search Table of Contents'),
|
||||
style="flex-grow: 10; margin-right: 0.5em", onkeydown=on_input_keydown,
|
||||
),
|
||||
E.div(class_='simple-link', svgicon('search'), onclick=on_search_click)
|
||||
|
Loading…
x
Reference in New Issue
Block a user