Skip to content

Commit

Permalink
Fixed roll-up regression bug
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed May 19, 2018
1 parent 82f6a48 commit b4b766e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/js/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,13 @@
context.previousISDState[rb.id].plist[context.previousISDState[rb.id].plist.length - 1].text) {

var body_elem = e.firstElementChild;

var h = rb.plist[rb.plist.length - 1].after - rb.plist[rb.plist.length - 1].before;

body_elem.style.bottom = "-" + rb.plist[rb.plist.length - 1].height + "px";
body_elem.style.bottom = "-" + h + "px";
body_elem.style.transition = "transform 0.4s";
body_elem.style.position = "relative";
body_elem.style.transform = "translateY(-" + rb.plist[rb.plist.length - 1].height + "px)";
body_elem.style.transform = "translateY(-" + h + "px)";

}

Expand Down

0 comments on commit b4b766e

Please sign in to comment.