Commit 0fe942c6 authored by Simon Knox's avatar Simon Knox Committed by Alfredo Sumaran

allow clicking on text or icon to trigger expand

parent 7b69580e
...@@ -923,7 +923,7 @@ require('vendor/task_list'); ...@@ -923,7 +923,7 @@ require('vendor/task_list');
}; };
Notes.prototype.toggleCommitList = function(e) { Notes.prototype.toggleCommitList = function(e) {
const $element = $(e.target); const $element = $(e.currentTarget);
const $closestSystemCommitList = $element.siblings('.system-note-commit-list'); const $closestSystemCommitList = $element.siblings('.system-note-commit-list');
$element.find('.fa').toggleClass('fa-angle-down').toggleClass('fa-angle-up'); $element.find('.fa').toggleClass('fa-angle-down').toggleClass('fa-angle-up');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment