mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix KOReader spelling in the code (#12670)
This commit is contained in:
@@ -228,7 +228,7 @@ function TweakInfoWidget:onSelect()
|
||||
return true
|
||||
end
|
||||
|
||||
-- Ordering function for tweaks when appened to css_test.
|
||||
-- Ordering function for tweaks when appended to css_test.
|
||||
-- The order needs to be consistent for crengine's stylesheet change
|
||||
-- detection code to not invalidate cache across loadings.
|
||||
local function tweakOrdering(l, r)
|
||||
@@ -399,7 +399,7 @@ function ReaderStyleTweak:updateCssText(apply)
|
||||
end
|
||||
-- We could store what's been read into tweak.css to avoid
|
||||
-- re-reading it, but this will allow a user to experiment
|
||||
-- wihout having to restart KOReader
|
||||
-- without having to restart KOReader
|
||||
end
|
||||
css = util.trim(css)
|
||||
table.insert(css_snippets, css)
|
||||
@@ -718,7 +718,7 @@ function ReaderStyleTweak:onToggleStyleTweak(tweak_id, item, no_notification)
|
||||
local enabled, g_enabled = self:isTweakEnabled(tweak_id)
|
||||
if enabled then
|
||||
if g_enabled then
|
||||
-- if globaly enabled, mark it as disabled
|
||||
-- if globally enabled, mark it as disabled
|
||||
-- for this document only
|
||||
self.doc_tweaks[tweak_id] = false
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user