Commit 202027d2 authored by Andrew Cohen's avatar Andrew Cohen

on select, scroll to lineage properly

parent c3caeaa0
......@@ -46,7 +46,7 @@ function setPopupTID(tid,bScroll=false)
if (bScroll) {
var bFitToWindow=document.getElementById('cbLineageFit').checked;
if (!bFitToWindow) {
var xScroll=x-lineageDiv.offsetWidth/2;
var xScroll=x-lineageDiv.offsetWidth/2 + lineageDiv.scrollLeft;
lineageDiv.scrollTo(xScroll,0);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment