Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Modal event binding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jul 8, 2011
1 parent 5c951f3 commit 5e4fdd1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sun Jun 26 14:07:37 2011 +0100
* Date: Tue Jul 5 17:30:39 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sun Jun 26 14:07:37 2011 +0100
* Date: Tue Jul 5 17:30:39 2011 +0100
*/

/* Core qTip styles */
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Sun Jun 26 14:07:37 2011 +0100
* Date: Tue Jul 5 17:30:39 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -2900,7 +2900,7 @@ function Modal(api)
}
else {
// Undelegate focus handler
docBody.undelegate('*', 'focus'+namespace);
docBody.undelegate('*', 'focusin'+namespace);
}

// Stop all animations
Expand Down Expand Up @@ -2955,7 +2955,7 @@ function Modal(api)
}

// Undelegate focus handler
docBody.undelegate('*', 'focus'+namespace);
docBody.undelegate('*', 'focusin'+namespace);
}

// Remove bound events
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/modal.js
Expand Up @@ -140,7 +140,7 @@ function Modal(api)
}
else {
// Undelegate focus handler
docBody.undelegate('*', 'focus'+namespace);
docBody.undelegate('*', 'focusin'+namespace);
}

// Stop all animations
Expand Down Expand Up @@ -195,7 +195,7 @@ function Modal(api)
}

// Undelegate focus handler
docBody.undelegate('*', 'focus'+namespace);
docBody.undelegate('*', 'focusin'+namespace);
}

// Remove bound events
Expand Down

0 comments on commit 5e4fdd1

Please sign in to comment.