Commit 0e3ca4f4 authored by Clement Ho's avatar Clement Ho

[skip ci] use arrow functions

parent e51f46c9
......@@ -97,10 +97,11 @@ import eventHub from './sidebar/event_hub';
$dropdown.find('.dropdown-toggle-text').text(gon.current_user_fullname).removeClass('is-default');
});
$block.on('click', '.js-assign-yourself', function(e) {
$block.on('click', '.js-assign-yourself', (e) => {
e.preventDefault();
return assignTo(_this.currentUser.id);
});
assignTo = function(selected) {
var data;
data = {};
......
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