1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-13 15:54:54 +12:00
This commit is contained in:
gorhill 2015-07-29 14:18:52 -04:00
parent 98c51dbff4
commit ae0fdc8d10

View file

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