Skip to content

Commit

Permalink
fix error binding unknown events
Browse files Browse the repository at this point in the history
  • Loading branch information
marianoguerra committed Jul 26, 2012
1 parent 218bb1e commit 0744952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery.lego.js
Expand Up @@ -99,7 +99,7 @@
if ($.inArray(attr, events) !== -1) {
$tag[attr](options[key]);
} else if ($.isFunction(options[key])) {
$.bind(attr, options[key]);
$tag.bind(attr, options[key]);
} else {
$.lego.error("unknown internal attribute " + attr);
}
Expand Down

0 comments on commit 0744952

Please sign in to comment.