mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Cleanup link_states and fix a rare highlight bug
This commit is contained in:
@@ -16,6 +16,11 @@ function ReaderLink:init()
|
||||
end
|
||||
end
|
||||
|
||||
function ReaderLink:onReadSettings(config)
|
||||
-- called when loading new document
|
||||
self.link_states = {}
|
||||
end
|
||||
|
||||
function ReaderLink:initGesListener()
|
||||
if Device:isTouchDevice() then
|
||||
self.ges_events = {
|
||||
|
||||
Reference in New Issue
Block a user