Merge pull request #1583 from dpalou/MOBILE-2711

MOBILE-2711 scorm: Fix SCORM disappear if tab changed
main
Juan Leyva 2018-11-06 15:31:08 +01:00 committed by GitHub
commit 0327c092e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ export class AddonModScormPlayerPage implements OnInit, OnDestroy {
/** /**
* Page will leave. * Page will leave.
*/ */
ionViewWillLeave(): void { ionViewWillUnload(): void {
// Empty src when leaving the state so unload event is triggered in the iframe. // Empty src when leaving the state so unload event is triggered in the iframe.
this.src = ''; this.src = '';
} }