fix nit for bug 513912

This commit is contained in:
Dão Gottwald 2009-09-13 13:45:03 +02:00
parent 5c0bdb82f9
commit 025717ed29

View File

@ -333,11 +333,10 @@ var FullZoom = {
* one.
**/
_applyPrefToSetting: function FullZoom__applyPrefToSetting(aValue, aBrowser) {
var browser = aBrowser || gBrowser.selectedBrowser;
if (!this.siteSpecific && !this._inPrivateBrowsing)
return;
var browser = aBrowser || gBrowser.selectedBrowser;
try {
if (gInPrintPreviewMode ||
browser.contentDocument instanceof Ci.nsIImageDocument ||