diff --git a/unireader.lua b/unireader.lua index 1cf489554..ed757189b 100644 --- a/unireader.lua +++ b/unireader.lua @@ -2354,7 +2354,7 @@ function UniReader:addAllCommands() self.commands:addGroup("[1, 2 .. 9, 0]",numeric_keydefs, "jump to 0%, 10% .. 90%, 100% of document", function(unireader,keydef) - Debug('jump to page:', math.max(math.floor(unireader.doc:getPages()*(keydef.keycode-KEY_1)/9),1), '/', unireader.doc:getPages()) + --Debug('jump to page:', math.max(math.floor(unireader.doc:getPages()*(keydef.keycode-KEY_1)/9),1), '/', unireader.doc:getPages()) unireader:goto(math.max(math.floor(unireader.doc:getPages()*(keydef.keycode-KEY_1)/9),1)) end) -- end numeric keys