From f24a10ce4470eb38580fdebebc80d0153088c2bf Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 29 Oct 2008 19:24:30 +0000 Subject: [PATCH] Dont try to use FullZoom if it doesnt exist --- content/buffer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/buffer.js b/content/buffer.js index 0b6cc20c..c623b6a5 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -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 + "%"); }