forked from CIT/Vmeda.Online
Merge pull request #2622 from dpalou/MOBILE-3523
MOBILE-3523 ddmarker: Fix ddmarker offline if no background image
This commit is contained in:
commit
221b1071d9
@ -751,7 +751,7 @@ export class AddonQtypeDdMarkerQuestion {
|
|||||||
this.question.loaded = true;
|
this.question.loaded = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (bgImg.complete && bgImg.naturalWidth) {
|
if (!bgImg.src || (bgImg.complete && bgImg.naturalWidth)) {
|
||||||
imgLoaded();
|
imgLoaded();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user