Skip to content
This repository has been archived by the owner on May 1, 2018. It is now read-only.

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Karbassi committed Feb 8, 2011
1 parent b7139c5 commit 46b008f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Expand Up @@ -68,7 +68,7 @@ <h3>Select Box Disabled</h3>
</select>
</div>

<div>
<div>
<h3>Default Checkbox</h3>
<label for="checkbox1">Checkbox 1</label>
<input class="styled" type="checkbox" id="checkbox1" name="checkbox1" value="checkbox" />
Expand Down
4 changes: 2 additions & 2 deletions src/custom-form-elements.js
Expand Up @@ -106,7 +106,7 @@ Example:
});

var query = 'span.' + self.options.uniqueClassName + '.select:not(.' + d + ')+select';

$(query).each(function(){
$(this)
.parent()
Expand Down Expand Up @@ -156,7 +156,7 @@ Example:

mousedown: function(e, el) {
if (e.button !== 0) { return; } // Only respond to left mouse clicks

var self = this,
input = $('#' + el.id.split('_cf').shift())[0],
offset = self.options[input.type + h] * (input.checked ? 3 : 1);
Expand Down

0 comments on commit 46b008f

Please sign in to comment.