diff --git a/src/Frame.jsx b/src/Frame.jsx index ae88480..8470f30 100644 --- a/src/Frame.jsx +++ b/src/Frame.jsx @@ -95,9 +95,10 @@ export class Frame extends Component { // In certain situations on a cold cache DOMContentLoaded never gets called // fallback to an interval to check if that's the case - loadCheck = setInterval(function loadCheckCallback() { - this.handleLoad(); - }, 500); + loadCheck = () => + setInterval(() => { + this.handleLoad(); + }, 500); renderFrameContents() { if (!this._isMounted) {