mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 19:25:40 +02:00
Fix: A wrong value is set into 'encoding' option at liberator.startup.
This commit is contained in:
1 parent
3f5b086b25
commit
2a63edd52c
1 file changed
+4
-1
@@ -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