1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 14:02:28 +01:00

Dont try to use FullZoom if it doesnt exist

This commit is contained in:
Kris Maglione
2008-10-29 19:24:30 +00:00
parent ba875313d6
commit f24a10ce44

View File

@@ -295,7 +295,8 @@ function Buffer() //{{{
ZoomManager.useFullZoom = fullZoom;
ZoomManager.zoom = value / 100;
FullZoom._applySettingToPref();
if ("FullZoom" in window)
FullZoom._applySettingToPref();
liberator.echo((fullZoom ? "Full" : "Text") + " zoom: " + value + "%");
}