Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit e63c833

Browse files
author
soliury
committed
fix bugs: #43
1 parent d15afa5 commit e63c833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/base/Html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Html extends Component {
7878

7979
_onImageLoadEnd(uri, imageId) {
8080
const {maxImageWidth} = this.props;
81-
Image.getSize(uri, (w, h)=> {
81+
Image.getSize && Image.getSize(uri, (w, h)=> {
8282
if (w >= maxImageWidth) {
8383
h = (maxImageWidth / w) * h;
8484
w = maxImageWidth;

0 commit comments

Comments
 (0)