Skip to content

Commit 4b29500

Browse files
author
maeda-m
committed
Fixed load DataURISchema of image in old layout format
1 parent 2c14807 commit 4b29500

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/core/shapestructure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ thin.core.ShapeStructure.createImageblockShapeFromElement = function(element, la
114114
*/
115115
thin.core.ShapeStructure.createImageFileFromElement = function(element) {
116116
var entry = thin.File.createDummyEntry('DummyImageFile');
117-
var coreFile = new thin.File(entry, '', element.href.baseVal);
117+
var coreFile = new thin.File(entry, '', element['href']['baseVal']);
118118

119119
return new thin.core.ImageFile(coreFile);
120120
};

0 commit comments

Comments
 (0)