|
|
|
|
@ -244,7 +244,8 @@ |
|
|
|
|
$('.menu-button').css('color', '#000'); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
if (/iPhone|iPod|iPad/.test(navigator.userAgent)) { |
|
|
|
|
if (/iPhone|iPod|iPad|Safari/.test(navigator.userAgent)) { |
|
|
|
|
if (!/Chrome/.test(navigator.userAgent)) { |
|
|
|
|
// Fix an issue where you cannot scroll below first screen in |
|
|
|
|
// learning paths on Apple devices |
|
|
|
|
document.getElementById('wrapper-iframe').setAttribute( |
|
|
|
|
@ -257,6 +258,7 @@ |
|
|
|
|
// second screen in learning paths on Apple devices |
|
|
|
|
document.getElementById('content_id').setAttribute('style', 'overflow: auto;'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
{% if lp_mode == 'embedframe' %} |
|
|
|
|
$('#lp-view-expand-button, #lp-view-expand-toggle').on('click', function (e) { |
|
|
|
|
e.preventDefault(); |
|
|
|
|
|