Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2017-02-16 05:10:32 +0300
committerSimon Knox <psimyn@gmail.com>2017-02-16 05:10:32 +0300
commit8a928af0fc54a84c5b858955e7459512155d4af0 (patch)
tree4c55ff6c1cd20405e9adf5973e2ce1c229fcebde /app/assets/javascripts/notes.js
parent3f713db0da2602152aa482b57f84b7418fd20a93 (diff)
parentb05e75b8faccc50749adc63419074c91802a8f50 (diff)
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into task_list_refactor
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r--app/assets/javascripts/notes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js
index e12a45adc9f..553ced4fa55 100644
--- a/app/assets/javascripts/notes.js
+++ b/app/assets/javascripts/notes.js
@@ -905,9 +905,10 @@ require('./task_list');
};
Notes.prototype.toggleCommitList = function(e) {
- const $element = $(e.target);
+ const $element = $(e.currentTarget);
const $closestSystemCommitList = $element.siblings('.system-note-commit-list');
+ $element.find('.fa').toggleClass('fa-angle-down').toggleClass('fa-angle-up');
$closestSystemCommitList.toggleClass('hide-shade');
};