Browse Source

Мелкая поправка

Book Pauk 6 years ago
parent
commit
631c5930e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/components/Reader/share/BookParser.js

+ 1 - 1
client/components/Reader/share/BookParser.js

@@ -664,7 +664,7 @@ export default class BookParser {
                 parsed.visible = this.showImages;
                 let bin = this.binary[part.image.id];
                 if (!bin)
-                    bin = {h: 0, w: 0};
+                    bin = {h: 1, w: 1};
 
                 let lineCount = this.imageHeightLines;
                 let c = Math.ceil(bin.h/this.lineHeight);