mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
return only one value in ReaderToc:cleanUpTocTitle(title)
This commit is contained in:
parent
25af917170
commit
dfff1906fd
@ -8,7 +8,7 @@ ReaderToc = InputContainer:new{
|
|||||||
}
|
}
|
||||||
|
|
||||||
function ReaderToc:cleanUpTocTitle(title)
|
function ReaderToc:cleanUpTocTitle(title)
|
||||||
return title:gsub("\13", "")
|
return (title:gsub("\13", ""))
|
||||||
end
|
end
|
||||||
|
|
||||||
function ReaderToc:onSetDimensions(dimen)
|
function ReaderToc:onSetDimensions(dimen)
|
||||||
|
Loading…
Reference in New Issue
Block a user