1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-04 00:25:46 +01:00

Fix completion.charset issue.

This commit is contained in:
Kris Maglione
2011-01-09 15:56:28 -05:00
parent 3485424f6e
commit f4ce38693f

View File

@@ -811,7 +811,14 @@ unlet s:cpo_save
context.anchored = false;
context.keys = {
text: util.identity,
description: services.charset.getCharsetTitle
description: function (charset) {
try {
return services.charset.getCharsetTitle(charset);
}
catch (e) {
return charset;
}
}
};
context.generate = function () iter(services.charset.getDecoderList());
};