mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 00:35:46 +01:00
Fix some startup bottlenecks.
This commit is contained in:
@@ -920,9 +920,9 @@ var AsyncFile = Class("AsyncFile", File, {
|
||||
}),
|
||||
|
||||
_setEncoding: function _setEncoding(options) {
|
||||
if (this.encoding != null && !("encoding" in options))
|
||||
if (this.charset != null && !("encoding" in options))
|
||||
options = update({}, options,
|
||||
{ encoding: this.encoding });
|
||||
{ encoding: this.charset });
|
||||
|
||||
return options;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user