Fixed event triggering with data

This commit is contained in:
Erik Tiekstra
2017-05-17 15:43:17 +02:00
parent afa1b13201
commit ad195acb7b
2 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ var DragHandle = function (handler) {
mouseUp: function () {
if (!_moved && _currentAxis) {
$(document).trigger('PIE:dragbar-click', _currentAxis);
$(document).trigger('PIE:dragbar-click', { axis: _currentAxis });
}
_dragging = false;