MOBILE-3320 h5p: Don't download H5P if offline disabled in site
parent
9dde9de784
commit
6d9b171e08
|
@ -196,7 +196,7 @@ export class CoreH5PProvider {
|
|||
isOfflineDisabledInSite(site?: CoreSite): boolean {
|
||||
site = site || CoreSites.getCurrentSite();
|
||||
|
||||
return !!(site?.isFeatureDisabled('NoDelegate_H5POffline'));
|
||||
return !!(site?.isOfflineDisabled() || site?.isFeatureDisabled('NoDelegate_H5POffline'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue