1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 01:34:10 +01:00

Minor compat changes.

--HG--
extra : rebase_source : d40d66e2cd689f43243a837dbd19fe5e0ec8d462
This commit is contained in:
Kris Maglione
2014-06-27 13:24:34 -07:00
parent bfd2d975f8
commit e8dce1107a
4 changed files with 46 additions and 26 deletions

View File

@@ -366,7 +366,8 @@ var Bookmarks = Module("bookmarks", {
[, url, charset] = matches;
else
try {
charset = services.history.getCharsetForURI(util.newURI(url));
charset = services.annotation.getPageAnnotation(util.newURI(url),
PlacesUtils.CHARSET_ANNO);
}
catch (e) {}