update scrollbar on search

This commit is contained in:
2014-10-07 20:25:26 +02:00
parent 07c041b82e
commit d652a2f77f
2 changed files with 3 additions and 1 deletions

3
jquery/databap.js vendored
View File

@@ -420,6 +420,7 @@ function Databap()
//Page event
self.onResize();
self.updateScrollBar();
};
this.maximizeElem = function($Elem, bfitToElemContent, $Box)
@@ -848,7 +849,7 @@ function Databap()
this.updateScrollBar = function(sPos)
{
sPos = sPos || 'relative';
self.tmp('scrollbar').tinyscrollbar_update(sPos);
if(self.tmp('scrollbar')) self.tmp('scrollbar').tinyscrollbar_update(sPos);
};
this.shareEvent = function(sType, iId)