Skip to content

Commit

Permalink
SAK-41799 Resize based on frame size, not window (sakaiproject#6933)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnhutchins authored and ern committed May 17, 2019
1 parent ab9f3d0 commit ce54a1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samigo/samigo-app/src/webapp/js/samigo-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ function resizeFrame(updown) {
if (frame) {
var clientH;
if (updown === "shrink") {
clientH = document.body.scrollHeight;
clientH = frame.scrollHeight;
} else {
clientH = document.body.scrollHeight + 30;
clientH = frame.scrollHeight + 30;
}
$(frame).height(clientH);
}
Expand Down

0 comments on commit ce54a1c

Please sign in to comment.