mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
PocketBook: Auto-standby plugin fix (#6612)
Fix "accessing undefined variable" in previous commit.
This commit is contained in:
@@ -93,7 +93,7 @@ function AutoStandby:onInputEvent()
|
||||
-- all standbys forbidden, always prevent
|
||||
self:prevent()
|
||||
return
|
||||
elseif delay == 0 then
|
||||
elseif self.delay == 0 then
|
||||
-- If delay is 0 now, just allow straight
|
||||
self:allow()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user