mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-07 03:25:46 +01:00
Minor compat changes.
--HG-- extra : rebase_source : d40d66e2cd689f43243a837dbd19fe5e0ec8d462
This commit is contained in:
@@ -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) {}
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ var MOW = Module("mow", {
|
||||
modules.mow = this;
|
||||
let fontSize = DOM(document.documentElement).style.fontSize;
|
||||
styles.system.add("font-size", "dactyl://content/buffer.xhtml",
|
||||
"body { font-size: " + fontSize + "; } \
|
||||
html|html > xul|scrollbar { visibility: collapse !important; }",
|
||||
// "body { font-size: " + fontSize + "; } \
|
||||
"html|html > xul|scrollbar { visibility: collapse !important; }",
|
||||
true);
|
||||
|
||||
overlay.overlayWindow(window, {
|
||||
|
||||
Reference in New Issue
Block a user