mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 18:22:45 +08: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
|
||||
// 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 windowHeight = window.innerHeight ? window.innerHeight : $w.height();
|
||||
|
|
Loading…
Reference in New Issue
Block a user