pull/2/head
gorhill 9 years ago
parent 98c51dbff4
commit ae0fdc8d10

@ -1931,8 +1931,11 @@ vAPI.toolbarButton = {
} }
var tbb = vAPI.toolbarButton; var tbb = vAPI.toolbarButton;
var popupCommittedWidth = 0;
var popupCommittedHeight = 0;
tbb.onViewShowing = function({target}) { tbb.onViewShowing = function({target}) {
popupCommittedWidth = popupCommittedHeight = 0;
target.firstChild.setAttribute('src', vAPI.getURL('popup.html')); target.firstChild.setAttribute('src', vAPI.getURL('popup.html'));
}; };
@ -1970,8 +1973,6 @@ vAPI.toolbarButton = {
}; };
var scrollBarWidth = 0; var scrollBarWidth = 0;
var popupCommittedWidth = 0;
var popupCommittedHeight = 0;
var resizeTimer = null; var resizeTimer = null;
var resizePopupDelayed = function(attempts) { var resizePopupDelayed = function(attempts) {

Loading…
Cancel
Save