Skip to content

Commit

Permalink
fix(angular): add event listener on window (#15628)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwacky authored and manucorporat committed Sep 24, 2018
1 parent c8de84d commit 7bd33a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular/src/providers/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Platform {
proxyEvent(this.pause, document, 'pause');
proxyEvent(this.resume, document, 'resume');
proxyEvent(this.backButton, document, 'backbutton');
proxyEvent(this.resize, document, 'resize');
proxyEvent(this.resize, window, 'resize');

let readyResolve: (value: string) => void;
this._readyPromise = new Promise(res => { readyResolve = res; });
Expand Down

0 comments on commit 7bd33a7

Please sign in to comment.