MOBILE-3199 lti: Launch LTI in browser in desktop
parent
4c03c0174a
commit
06cb21216f
|
@ -207,7 +207,12 @@ export class AddonModLtiProvider {
|
|||
|
||||
// Generate launcher and open it.
|
||||
return this.generateLauncher(url, params).then((url) => {
|
||||
this.utils.openInApp(url);
|
||||
if (this.appProvider.isMobile()) {
|
||||
this.utils.openInApp(url);
|
||||
} else {
|
||||
// In desktop open in browser, we found some cases where inapp caused JS issues.
|
||||
this.utils.openInBrowser(url);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue