Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
AUI-1111 - Source formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
natecavanaugh authored and Bruno Basto committed Mar 25, 2014
1 parent d4d185d commit d4c6cf5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/aui-diagram-builder/js/aui-diagram-builder-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -981,9 +981,7 @@ var DiagramBuilder = A.Component.create({
_onDeleteKey: function(event) {
var instance = this;

var target = event.target;

if (isDiagramNode(A.Widget.getByNode(target))) {
if (isDiagramNode(A.Widget.getByNode(event.target))) {
instance._deleteSelectedNode(event);
}
},
Expand Down

0 comments on commit d4c6cf5

Please sign in to comment.