mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 02:32:27 +01:00
Fix charset completion.
This commit is contained in:
@@ -235,7 +235,7 @@ var IO = Module("io", {
|
||||
|
||||
charsets: Class.Memoize(function () {
|
||||
const BASE = "@mozilla.org/intl/unicode/decoder;1?charset=";
|
||||
return Object.keys(Cc).filter(k.startsWith(BASE))
|
||||
return Object.keys(Cc).filter(k => k.startsWith(BASE))
|
||||
.map(k => k.slice(BASE.length));
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user