fix the build

This commit is contained in:
Arpit Jalan 2017-11-27 23:18:08 +05:30
parent bf415f2d40
commit 2c16240b60

View File

@ -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();