mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-13 15:54:54 +12:00
this fixes #308
This commit is contained in:
parent
98c51dbff4
commit
ae0fdc8d10
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue