mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix the build
This commit is contained in:
parent
bf415f2d40
commit
2c16240b60
@ -65,7 +65,7 @@ export default MountWidget.extend({
|
|||||||
|
|
||||||
// We use this because watching videos fullscreen in Chrome was super buggy
|
// We use this because watching videos fullscreen in Chrome was super buggy
|
||||||
// otherwise. Thanks to arrendek from q23 for the technique.
|
// otherwise. Thanks to arrendek from q23 for the technique.
|
||||||
if (document.elementFromPoint(0, 0).tagName.toUpperCase() == "IFRAME") { return; }
|
if (document.elementFromPoint(0, 0).tagName.toUpperCase() === "IFRAME") { return; }
|
||||||
|
|
||||||
const $w = $(window);
|
const $w = $(window);
|
||||||
const windowHeight = window.innerHeight ? window.innerHeight : $w.height();
|
const windowHeight = window.innerHeight ? window.innerHeight : $w.height();
|
||||||
|
Loading…
Reference in New Issue
Block a user