We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27f63ec commit cb56ccfCopy full SHA for cb56ccf
scripts/reading.js
@@ -536,7 +536,7 @@ var rightSize = {}; // Right content size
536
537
function calculateView()
538
{
539
- let contentRight = template.contentRight().get(0);
+ let contentRight = template._contentRight();
540
541
let content = contentRight.firstElementChild;
542
let rect = content.getBoundingClientRect();
@@ -554,7 +554,7 @@ function calculateView()
554
555
dom.this(contentRight).find('.reading-body > div, .reading-lens > div > div', true).css({
556
width: (rect.width * indexNum)+'px',
557
- height: rect.height,
+ height: rect.height+'px',
558
flexDirection: '',
559
});
560
}
0 commit comments