mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 630249 - Do not allow zoom for empty pages even if they are remote [r=mfinkle]
This commit is contained in:
parent
6af4bdefe9
commit
f3168ec432
@ -2752,7 +2752,7 @@ Tab.prototype = {
|
||||
},
|
||||
|
||||
get allowZoom() {
|
||||
return this.metadata.allowZoom;
|
||||
return this.metadata.allowZoom && !Util.isURLEmpty(this.browser.currentURI.spec);
|
||||
},
|
||||
|
||||
updateThumbnail: function updateThumbnail() {
|
||||
|
Loading…
Reference in New Issue
Block a user