MOBILE-3523 ddmarker: Fix ddmarker offline if no background image
parent
c1411c3ed4
commit
1be4bc02d6
|
@ -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