mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Check if control is already hidden
This commit is contained in:
@@ -39,7 +39,7 @@ class ZenMediaController {
|
||||
.then(() => {
|
||||
this.mediaControlBar.setAttribute('hidden', 'true');
|
||||
});
|
||||
} else {
|
||||
} else if (this.mediaControlBar.hasAttribute('hidden')) {
|
||||
this.mediaControlBar.removeAttribute('hidden');
|
||||
window.requestAnimationFrame(() => {
|
||||
this.mediaControlBar.style.height =
|
||||
|
Reference in New Issue
Block a user