From 9ccc915854c074422762e3bd23b2aac4a9cb3205 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 7 Dec 2013 14:21:34 +0100 Subject: [PATCH] Small optimization --- wcfsetup/install/files/js/WCF.Comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Comment.js b/wcfsetup/install/files/js/WCF.Comment.js index 58b2fc1709..c23e26c6d1 100644 --- a/wcfsetup/install/files/js/WCF.Comment.js +++ b/wcfsetup/install/files/js/WCF.Comment.js @@ -121,7 +121,7 @@ WCF.Comment.Handler = Class.extend({ _handleLoadNextComments: function() { if (this._displayedComments < this._container.data('comments')) { if (this._loadNextComments === null) { - this._loadNextComments = $('
  • ').appendTo(this._container); + this._loadNextComments = $('
  • ').appendTo(this._container); this._loadNextComments.children('button').click($.proxy(this._loadComments, this)); } -- 2.20.1