mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 14:22:27 +01:00
Workaround for whiny pansies with old saved zoom settings who are too lazy to update them.
This commit is contained in:
@@ -1139,7 +1139,7 @@ var Buffer = Module("Buffer", {
|
||||
|
||||
if (services.has("contentPrefs") && prefs.get("browser.zoom.siteSpecific"))
|
||||
services.contentPrefs.getPref(uri, "dactyl.content.full-zoom", function (val) {
|
||||
if (uri.equals(self.uri) && val != prefs.get("browser.zoom.full"))
|
||||
if (val != null && uri.equals(self.uri) && val != prefs.get("browser.zoom.full"))
|
||||
[self.contentViewer.textZoom, self.contentViewer.fullZoom] =
|
||||
[self.contentViewer.fullZoom, self.contentViewer.textZoom];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user