Skip to content

Commit

Permalink
fix derbyjs#2
Browse files Browse the repository at this point in the history
  • Loading branch information
ile committed Nov 20, 2014
1 parent ddf107c commit 7320d39
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/markup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ markup.on('element:a', function(template) {
}
});

markup.on('element:form', function(template) {
if (hasListenerFor(template, 'submit')) {
addListener(template, 'submit', '$preventDefault($event)');
}
});

function hasListenerFor(template, eventName) {
var hooks = template.hooks;
if (!hooks) return false;
Expand Down

0 comments on commit 7320d39

Please sign in to comment.