Small optimization
authorMarcel Werk <burntime@woltlab.com>
Sat, 7 Dec 2013 13:21:34 +0000 (14:21 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sat, 7 Dec 2013 13:21:34 +0000 (14:21 +0100)
wcfsetup/install/files/js/WCF.Comment.js

index 58b2fc17093b4277aff952034e81497b70de18ea..c23e26c6d1727e2d014aa04e659ecf4fc7886c0a 100644 (file)
@@ -121,7 +121,7 @@ WCF.Comment.Handler = Class.extend({
        _handleLoadNextComments: function() {
                if (this._displayedComments < this._container.data('comments')) {
                        if (this._loadNextComments === null) {
-                               this._loadNextComments = $('<li class="commentLoadNext"><button class="buttonPrimary small">' + WCF.Language.get('wcf.comment.more') + '</button></li>').appendTo(this._container);
+                               this._loadNextComments = $('<li class="commentLoadNext"><button class="small">' + WCF.Language.get('wcf.comment.more') + '</button></li>').appendTo(this._container);
                                this._loadNextComments.children('button').click($.proxy(this._loadComments, this));
                        }