1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00

forgot to tag code with issue number

This commit is contained in:
gorhill 2014-08-30 17:22:31 -04:00
parent cf6d22c5e0
commit fb25827672

View File

@ -638,6 +638,10 @@ var onKeyPressed = function(ev) {
/******************************************************************************/
// https://github.com/gorhill/uBlock/issues/190
// May need to dynamically adjust the height of the overlay + new position
// of highlighted elements.
var onScrolled = function(ev) {
var newHeight = this.scrollY + this.innerHeight;
if ( newHeight > svgHeight ) {