mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Couple of minor fixes (#13185)
This commit is contained in:
@@ -420,7 +420,9 @@ function ReaderAnnotation:addItem(item)
|
||||
end
|
||||
|
||||
function ReaderAnnotation:onAnnotationsModified(items)
|
||||
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
|
||||
if items.update_datetime ~= false then
|
||||
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
|
||||
end
|
||||
end
|
||||
|
||||
-- info
|
||||
|
||||
Reference in New Issue
Block a user