Skip to content

Commit

Permalink
#2737 typo in code
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jul 28, 2015
1 parent a1ca414 commit b6fa0b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## RELEASE NOTES

### Version 2.x.x - July 23, 2015

-**Modal** - Fix autofocus setting in modal not working due to improper selector #2737


### Version 2.0.7 - July 23, 2015

**Important Note**
Expand Down
2 changes: 1 addition & 1 deletion src/definitions/modules/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ $.fn.modal = function(parameters) {
set: {
autofocus: function() {
var
$inputs = $module.fin(':input').filter(':visible'),
$inputs = $module.find(':input').filter(':visible'),
$autofocus = $inputs.filter('[autofocus]'),
$input = ($autofocus.length > 0)
? $autofocus.first()
Expand Down

0 comments on commit b6fa0b3

Please sign in to comment.