mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 09:55:33 +02:00
MDL-33960 mod_lti: fix page scroll
This commit is contained in:
parent
0b8e0c374f
commit
d030347bce
@ -129,10 +129,7 @@ if ( $launchcontainer == LTI_LAUNCH_CONTAINER_WINDOW ) {
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
YUI().use("node", "event", function(Y) {
|
||||
//Take scrollbars off the outer document to prevent double scroll bar effect
|
||||
var doc = Y.one("body");
|
||||
doc.setStyle("overflow", "hidden");
|
||||
|
||||
var frame = Y.one("#contentframe");
|
||||
var padding = 15; //The bottom of the iframe wasn\'t visible on some themes. Probably because of border widths, etc.
|
||||
var lastHeight;
|
||||
|
Loading…
x
Reference in New Issue
Block a user