mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 11:38:00 +01:00
Fix: A wrong value is set into 'encoding' option at liberator.startup.
This commit is contained in:
@@ -1330,7 +1330,10 @@ const liberator = (function () //{{{
|
|||||||
// set before by any RC file
|
// set before by any RC file
|
||||||
for (let option in options)
|
for (let option in options)
|
||||||
{
|
{
|
||||||
if (option.setter)
|
// 'encoding' option should not be set at this timing.
|
||||||
|
// Probably a wrong value is set into the option,
|
||||||
|
// if current page's encoging is not UTF-8.
|
||||||
|
if (option.name != "encoding" && option.setter)
|
||||||
option.value = option.value;
|
option.value = option.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user