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