diff options
author | Simon Knox <psimyn@gmail.com> | 2017-02-15 22:27:22 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-02-16 00:39:18 +0300 |
commit | 0fe942c67137d6c0551eb390666735a59df37d01 (patch) | |
tree | 5fa76cafe25bfbfb1eea94b7743457ec30eb91fc /app/assets/javascripts/notes.js | |
parent | 7b69580e1d99049684ea154e0d3a2dbfbce0e976 (diff) |
allow clicking on text or icon to trigger expand
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 90abce0405d..0464b895d6d 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -923,7 +923,7 @@ require('vendor/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'); |