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

Commit

Permalink
Fix IE7 modal z-index issue. Thanks to epcse for this fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed May 20, 2012
1 parent a8e0801 commit 3785d11
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 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: Sat May 19 09:43:33 2012 -0700
* Date: Sat May 19 17:45:55 2012 +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: Sat May 19 09:43:33 2012 -0700
* Date: Sat May 19 17:45:55 2012 +0100
*/

/* Core qTip styles */
Expand Down
4 changes: 2 additions & 2 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: Sat May 19 09:43:33 2012 -0700
* Date: Sat May 19 17:45:55 2012 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -2449,7 +2449,7 @@ function Modal(api)
curIndex = parseInt(tooltip[0].style.zIndex, 10);

// Set overlay z-index
overlay[0].style.zIndex = newIndex - 1;
overlay[0].style.zIndex = newIndex - 2;

// Reduce modal z-index's and keep them properly ordered
qtips.each(function() {
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/modal/modal.js
Expand Up @@ -67,7 +67,7 @@ function Modal(api)
curIndex = parseInt(tooltip[0].style.zIndex, 10);

// Set overlay z-index
overlay[0].style.zIndex = newIndex - 1;
overlay[0].style.zIndex = newIndex - 2;

// Reduce modal z-index's and keep them properly ordered
qtips.each(function() {
Expand Down

0 comments on commit 3785d11

Please sign in to comment.