1
0
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:
anekos
2009-04-18 06:50:33 +09:00
parent 3f5b086b25
commit 2a63edd52c

View File

@@ -1330,7 +1330,10 @@ const liberator = (function () //{{{
// set before by any RC file
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;
}