Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Commit 6bad9df

Browse files
author
InfinitiesLoop
committed
Fix update bug
1 parent b2a1dd5 commit 6bad9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jQuery.datalink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ $.link = function( settings, context ) {
377377
// listen to changes on the source
378378
$(source).attrChange( attr ? attr.split( ' ' ) : '', handler );
379379
// update if specified
380-
if ( settings.updateTarget ) {
380+
if ( settings.update ) {
381381
handler();
382382
}
383383
});

0 commit comments

Comments
 (0)