fix scrollbar on chat + compress css files + add remove filter inlist

This commit is contained in:
lutranf
2014-10-28 20:55:22 +01:00
parent 6b149c445d
commit 3697c32017
13 changed files with 57 additions and 3940 deletions

View File

@@ -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);