mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
disable scrolling for embedded videos (#2679)
This commit is contained in:
parent
16dae165df
commit
1d7036a30b
@ -363,6 +363,7 @@ export default {
|
||||
this.getPlaylistData();
|
||||
this.getSponsors();
|
||||
if (!this.isEmbed && this.showComments) this.getComments();
|
||||
if (this.isEmbed) document.querySelector("html").style.overflow = "hidden";
|
||||
window.addEventListener("click", this.handleClick);
|
||||
window.addEventListener("resize", () => {
|
||||
this.smallView = this.smallViewQuery.matches;
|
||||
|
Loading…
Reference in New Issue
Block a user