Skip to content

Commit

Permalink
Switched to tabs for indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Oct 16, 2010
1 parent 2470724 commit 4f41baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.dataAttr.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
* @author Mathias Bynens <http://mathiasbynens.be/>
*/
jQuery.fn.dataAttr = function(attr, val) {
return val ? this.attr('data-' + attr, val) : this.attr('data-' + attr);
return val ? this.attr('data-' + attr, val) : this.attr('data-' + attr);
};

0 comments on commit 4f41baa

Please sign in to comment.