diff options
| author | Eltrac <hi@guhub.cn> | 2025-09-15 14:25:44 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-09-15 14:25:44 +0800 |
| commit | 4f8bc303471f732eb8082a97fb5576914fac18e4 (patch) | |
| tree | fd0b427b3f9f77942bca23f6a9ffcaaa657e7921 /src/overlay.js | |
| parent | b0c616f123830c0623765e91dd3a71de8328b647 (diff) | |
refactor: shadow is no longer a child of overlay
Diffstat (limited to 'src/overlay.js')
| -rw-r--r-- | src/overlay.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/overlay.js b/src/overlay.js index c5dd853..5c73b95 100644 --- a/src/overlay.js +++ b/src/overlay.js @@ -17,12 +17,6 @@ export default class Overlay { return this; } - add(element) { - this.element.innerHTML = ''; - this.element.appendChild(element.element || element); - return this; - } - show() { this.element.style.opacity = '1'; this.element.style.zIndex = this.zIndex; |
