changeset 174 | 8d81f90f1d08 |
parent 171 | d1a43750fea2 |
child 178 | 2c3ba8d90123 |
--- a/src/ztfy/myams/resources/js/myams.js Thu Sep 01 15:18:16 2016 +0200 +++ b/src/ztfy/myams/resources/js/myams.js Thu Sep 29 12:12:03 2016 +0200 @@ -2144,7 +2144,8 @@ if (viewport.exists()) { var maxHeight = parseInt(viewport.css('max-height')); var barWidth = $.scrollbarWidth(); - if (viewport.height() === maxHeight) { + if ((viewport.css('overflow') !== 'hidden') && + (viewport.height() === maxHeight)) { $('<div></div>').addClass('scrollmarker') .addClass('top') .css('top', 0)