mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-23 05:36:09 +03:00
Fixed: Removed unnecessary complexity
This commit is contained in:
parent
b28b77fdbd
commit
c0eae951c6
@ -138,11 +138,6 @@
|
||||
this.elementWrapper.id = "overlay-wrapper";
|
||||
}
|
||||
|
||||
const overlayStyles = window.getComputedStyle(this.element);
|
||||
|
||||
for (let style of overlayStyles) {
|
||||
this.elementWrapper.style[style] = overlayStyles.getPropertyValue(style);
|
||||
}
|
||||
this.style = this.elementWrapper.style;
|
||||
this._init(options);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user