diff --git a/client/js/jquery.plugins.js b/client/js/jquery.plugins.js index 255d1a02..ee7ff505 100644 --- a/client/js/jquery.plugins.js +++ b/client/js/jquery.plugins.js @@ -133,15 +133,17 @@ return this; }; - var append = $.fn.append; - $.fn.append = function() { - return append.apply(this, arguments).trigger('append'); - }; + // Overrides var prepend = $.fn.prepend; $.fn.prepend = function() { return prepend.apply(this, arguments).trigger('append'); }; + + var append = $.fn.append; + $.fn.append = function() { + return append.apply(this, arguments).trigger('append'); + }; var html = $.fn.html; $.fn.html = function(string) { @@ -152,6 +154,8 @@ return result; }; + // Utils + $.fn.scrollToBottom = function(speed) { return this.each(function() { $(this).finish().animate({scrollTop: this.scrollHeight}, speed || 0); diff --git a/package.json b/package.json index 8bcbe581..4153461f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "The modern IRC client", - "version": "0.2.3", + "version": "1.0.0-alpha1", "author": { "name": "Mattias Erming", "email": "mattias@mattiaserming.com"