Skip to content

Commit

Permalink
Edited README via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlee committed Aug 11, 2011
1 parent 744065f commit f650b6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $('input.text').focusify();
OPTIONS

The plugin accepts three optional settings, a custom class name to apply to the field's related element (default is 'infocus'),
and two jQuery selector stringa which specify the related elements to apply the infocus class name to (default is applied to the
and two jQuery selector strings which specify the related elements to apply the infocus class name to (default is applied to the
preceding element since we assume the label element adjacent to the field is the target).

$('input.text').focusify({
Expand All @@ -30,7 +30,7 @@ $('input.text').focusify({
// where 'selector' is the passed jQuery string
parent: 'div.wrapper'

// use if targetting an adjacent element, uses .siblings('selector') selector
// use if targeting an adjacent element, uses .siblings('selector') selector
sibling: 'label'
});

Expand Down

0 comments on commit f650b6d

Please sign in to comment.