# HG changeset patch # User hertzhaft # Date 1327525274 -3600 # Node ID 68709fc53a59cf8d2fe5e473a10ae9237cd0c8e9 # Parent 665fd0e912f9f1a0096578aeec425ab22304b2f0 set regions overlay div position to absolute, avoiding scrollbar jumps diff -r 665fd0e912f9 -r 68709fc53a59 webapp/src/main/webapp/jquery/jquery.digilib.regions.js --- a/webapp/src/main/webapp/jquery/jquery.digilib.regions.js Wed Jan 25 21:40:11 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.regions.js Wed Jan 25 22:01:14 2012 +0100 @@ -75,7 +75,7 @@ var scalerRect = geom.rectangle($scaler); var pt1, pt2; // overlay prevents other elements from reacting to mouse events - var $overlay = $('
'); + var $overlay = $(''); $body.append($overlay); bodyRect.adjustDiv($overlay); var $regionDiv = addRegionDiv(data, data.regions.length);