Bug 709805 - Avoid viewport changes on background tabs. r=pcwalton a=js-only

This commit is contained in:
Kartikaya Gupta 2011-12-12 13:53:39 -05:00
parent e24b9c4f9e
commit 324193aaae

View File

@ -1198,6 +1198,8 @@ Tab.prototype = {
},
sendViewportUpdate: function() {
if (BrowserApp.selectedTab != this)
return;
sendMessageToJava({
gecko: {
type: "Viewport:Update",