fix typo
This commit is contained in:
parent
c5274604b2
commit
99115e66d5
1 changed files with 0 additions and 1 deletions
|
|
@ -284,7 +284,6 @@ window.VideoPlayer = function(options) {
|
||||||
self.controls.querySelector('.fullscreen-btn').addEventListener("click", toggleFullscreen)
|
self.controls.querySelector('.fullscreen-btn').addEventListener("click", toggleFullscreen)
|
||||||
if (typeof window.TelegramWebview !== 'undefined') {
|
if (typeof window.TelegramWebview !== 'undefined') {
|
||||||
self.controls.querySelector('.fullscreen-btn').style.display = 'none';
|
self.controls.querySelector('.fullscreen-btn').style.display = 'none';
|
||||||
return
|
|
||||||
}
|
}
|
||||||
document.addEventListener('fullscreenchange', event => {
|
document.addEventListener('fullscreenchange', event => {
|
||||||
if (!document.fullscreenElement) {
|
if (!document.fullscreenElement) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue