Bug 630249 - Do not allow zoom for empty pages even if they are remote [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2011-01-31 19:44:36 +01:00
parent 6af4bdefe9
commit f3168ec432

View File

@ -2752,7 +2752,7 @@ Tab.prototype = {
}, },
get allowZoom() { get allowZoom() {
return this.metadata.allowZoom; return this.metadata.allowZoom && !Util.isURLEmpty(this.browser.currentURI.spec);
}, },
updateThumbnail: function updateThumbnail() { updateThumbnail: function updateThumbnail() {