Loading responses should not open the reply box
authorAlexander Ebert <ebert@woltlab.com>
Sun, 8 Apr 2018 17:59:34 +0000 (19:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 8 Apr 2018 17:59:34 +0000 (19:59 +0200)
wcfsetup/install/files/js/WCF.Comment.js

index d6a1630cbd06d56307776a524b054d042b35b2b8..d00f2b563ddff5fbdf489c2eeccbe1ae3a1d896f 100644 (file)
@@ -294,11 +294,7 @@ WCF.Comment.Handler = Class.extend({
                        }
                }
                else if (this._loadNextResponses[commentID] !== undefined) {
-                       var $showAddResponse = this._loadNextResponses[commentID].next();
                        this._loadNextResponses[commentID].remove();
-                       if ($showAddResponse.length) {
-                               $showAddResponse.trigger('click');
-                       }
                }
        },