Browse Source

#2737 typo in code

pull/2743/head
jlukic 9 years ago
parent
commit
b6fa0b3020
2 changed files with 6 additions and 1 deletions
  1. 5
      RELEASE-NOTES.md
  2. 2
      src/definitions/modules/modal.js

5
RELEASE-NOTES.md

@ -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**

2
src/definitions/modules/modal.js

@ -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()

Loading…
Cancel
Save