Skip to content

Commit

Permalink
LSNBLDR-893 : Add content menu out of view when content extends past …
Browse files Browse the repository at this point in the history
…a certain point (sakaiproject#5043)
  • Loading branch information
frasese authored and ottenhoff committed Dec 1, 2017
1 parent b9b3203 commit e09428d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lessonbuilder/tool/src/webapp/js/show-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3231,6 +3231,8 @@ function openDropdown(dropDiv, button, title) {
dropDiv.find(".addContentMessage").show();
else
dropDiv.find(".addContentMessage").hide();
//jquery-ui#position does not work properly with large scrolls : https://bugs.jqueryui.com/ticket/15253. (if the ticket is solved, remove the line below)
$("[aria-describedby='addContentDiv']").offset({top : button.offset().top + button.height()});
return false;
}

Expand Down

0 comments on commit e09428d

Please sign in to comment.