mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix some luacheck warnings
This commit is contained in:
@@ -27,9 +27,9 @@ function ReaderSearch:addToMainMenu(tab_item_table)
|
||||
end
|
||||
|
||||
function ReaderSearch:onShowSearchDialog(text)
|
||||
local do_search = function(search_func, text, param)
|
||||
local do_search = function(search_func, _text, param)
|
||||
return function()
|
||||
local res = search_func(self, text, param)
|
||||
local res = search_func(self, _text, param)
|
||||
if res then
|
||||
if self.ui.document.info.has_pages then
|
||||
self.ui.link:onGotoLink({page = res.page - 1})
|
||||
|
||||
Reference in New Issue
Block a user