Skip to content

Commit

Permalink
fix JSHint
Browse files Browse the repository at this point in the history
  • Loading branch information
grabus committed Apr 2, 2015
1 parent cf8775f commit 3b68da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pen.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
addListener(ctx, toolbar, 'click', function(e) {
var node = e.target, action;

while (node != toolbar && !(action = node.getAttribute('data-action'))) {
while (node !== toolbar && !(action = node.getAttribute('data-action'))) {
node = node.parentNode;
}

Expand Down

0 comments on commit 3b68da2

Please sign in to comment.