WIP set -webkit-overflow-scrolling as important - refs BT#12444

pull/2487/head
Angel Fernando Quiroz Campos 8 years ago
parent a8b5750640
commit eff98c5f42
  1. 10
      main/template/default/learnpath/view.tpl

@ -162,11 +162,11 @@
$(document).on('ready', function () {
if (/iPhone|iPod|iPad/.test(navigator.userAgent)) {
$('#wrapper-iframe').css({
'overflow' : 'auto',
'position' : 'relative',
'-webkit-overflow-scrolling': 'touch'
});
document.getElementById('wrapper-iframe')
.setAttribute(
'style',
'width:100%; height:100%; overflow:auto; position:auto; -webkit-overflow-scrolling:touch !important;'
);
}
{% if lp_mode == 'embedframe' %}

Loading…
Cancel
Save