diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-21 22:57:06 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-21 22:57:06 +0200 |
commit | ab3954745ca882ff5d70fd3e4241167e089ac9fb (patch) | |
tree | ae981bc132953578037a8573b2e2f2dd62ef2668 | |
parent | e5ce61b174bfe01c0ee51ff61e362f385c4cfd07 (diff) | |
download | nextcloud-server-ab3954745ca882ff5d70fd3e4241167e089ac9fb.tar.gz nextcloud-server-ab3954745ca882ff5d70fd3e4241167e089ac9fb.zip |
avoid that all avatars are copied to the author row when editing comments
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r-- | apps/comments/js/commentstabview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js index e2cefbfd11a..8387e527f4a 100644 --- a/apps/comments/js/commentstabview.js +++ b/apps/comments/js/commentstabview.js @@ -307,7 +307,7 @@ $formRow.find('textarea').on('keydown input change', this._onTypeComment); // copy avatar element from original to avoid flickering - $formRow.find('.avatar').replaceWith($comment.find('.avatar').clone()); + $formRow.find('.avatar:first').replaceWith($comment.find('.avatar:first').clone()); $formRow.find('.has-tooltip').tooltip(); // Enable autosize |