fix scrollbar on chat + compress css files + add remove filter inlist
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
$.tiny.scrollbar = {options:{axis:'y',wheel:40,scroll:true,size:'auto',sizethumb:'auto'}};
|
||||
$.fn.tinyscrollbar=function(options){var options=$.extend({},$.tiny.scrollbar.options,options);this.each(function(){$(this).data('tsb',new Scrollbar($(this),options));});return this;};
|
||||
$.fn.tinyscrollbar_update=function(sScroll){return $(this).data('tsb').update(sScroll);};
|
||||
/* Adding getPos function - Start */
|
||||
$.fn.tinyscrollbar_isBottom=function(){return $(this).data('tsb').isBottom();};
|
||||
/* Adding getPos function - End */
|
||||
|
||||
function Scrollbar(root,options)
|
||||
{
|
||||
@@ -49,6 +52,13 @@
|
||||
setSize();
|
||||
};
|
||||
|
||||
/* Adding isBottom function - Start */
|
||||
this.isBottom=function()
|
||||
{
|
||||
return (iScroll == (oContent[options.axis] - oViewport[options.axis]));
|
||||
};
|
||||
/* Adding isBottom function - End */
|
||||
|
||||
function setSize()
|
||||
{
|
||||
oThumb.obj.css(sDirection,iScroll/oScrollbar.ratio);
|
||||
|
||||
Reference in New Issue
Block a user