/* Transforms chosen elements in content area and gives them an indicator, if they are scrollable to the right (useful for mobile) See detailed documentation in Dev/mediawiki deferrable:YES -- The user will not need (or see) this info immediately anyways */ (function () { var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); if( ! isMobile ) return; $('div.scroll-table').each( function() { if( $(this).width() < $(this).prop('scrollWidth') ) { $(this).addClass('scroll-overflow-indicator'); } }); })(); /* [[Category:MultiWiki]] */