app/assets/build/coco/book.js in coveragebook_components-0.7.5 vs app/assets/build/coco/book.js in coveragebook_components-0.7.6
- old
+ new
@@ -15202,10 +15202,12 @@
dismiss(event) {
if (this.$options.dismissable)
this.hide();
},
scrollTo(pos) {
- this.$root.scrollTop = pos + this.contentOffsetTop;
+ setTimeout(() => {
+ this.$root.scrollTop = pos + this.contentOffsetTop;
+ }, 10);
},
clearFrame() {
this.frame.removeAttribute("src");
this.frame.removeAttribute("complete");
this.frame.innerHTML = "";