Permalink
Browse files

Fix update bug

  • Loading branch information...
InfinitiesLoop
InfinitiesLoop committed Jun 2, 2010
1 parent b2a1dd5 commit 6bad9dfa377f037943665e1f8a6cbef9ccd7e2f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 jQuery.datalink.js
View
@@ -377,7 +377,7 @@ $.link = function( settings, context ) {
// listen to changes on the source
$(source).attrChange( attr ? attr.split( ' ' ) : '', handler );
// update if specified
- if ( settings.updateTarget ) {
+ if ( settings.update ) {
handler();
}
});

0 comments on commit 6bad9df

Please sign in to comment.