Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-89 authored Nov 5, 2024
1 parent d7fadef commit b749609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submodules/BrowserUI/Sources/BrowserWebContent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1724,10 +1724,10 @@ function tgBrowserHandleMutations(mutations) {
if (mutation.addedNodes && mutation.addedNodes.length > 0) {
mutation.addedNodes.forEach((newNode) => {
if (newNode.tagName === 'VIDEO') {
disableWebkitEnterFullscreen(newNode);
tgBrowserDisableWebkitEnterFullscreen(newNode);
}
if (newNode.querySelectorAll) {
newNode.querySelectorAll('video').forEach(disableWebkitEnterFullscreen);
newNode.querySelectorAll('video').forEach(tgBrowserDisableWebkitEnterFullscreen);
}
});
}
Expand Down

0 comments on commit b749609

Please sign in to comment.