diff options
Diffstat (limited to 'client/src/assets/player/shared/settings/settings-menu-button.ts')
-rw-r--r-- | client/src/assets/player/shared/settings/settings-menu-button.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/client/src/assets/player/shared/settings/settings-menu-button.ts b/client/src/assets/player/shared/settings/settings-menu-button.ts index 64866aab2..4cf29866b 100644 --- a/client/src/assets/player/shared/settings/settings-menu-button.ts +++ b/client/src/assets/player/shared/settings/settings-menu-button.ts | |||
@@ -175,10 +175,7 @@ class SettingsButton extends Button { | |||
175 | const el = element.el() as HTMLElement | 175 | const el = element.el() as HTMLElement |
176 | 176 | ||
177 | width = el.offsetWidth | 177 | width = el.offsetWidth |
178 | height = el.offsetHeight; | 178 | height = el.offsetHeight |
179 | |||
180 | (element as any).width = width; | ||
181 | (element as any).height = height | ||
182 | } else { | 179 | } else { |
183 | width = element.offsetWidth | 180 | width = element.offsetWidth |
184 | height = element.offsetHeight | 181 | height = element.offsetHeight |