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

Commit

Permalink
Fixup modal.js references to old $.fn.qtip.modal.zindex property chan…
Browse files Browse the repository at this point in the history
…ge in last commit

. Fixes #568
  • Loading branch information
Craga89 committed Jul 28, 2013
1 parent 4c24f80 commit 888f841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modal/modal.js
Expand Up @@ -217,7 +217,7 @@ $.extend(Modal.prototype, {
qtip.elements.overlay = OVERLAY.elem;

// Add unique attribute so we can grab modal tooltips easily via a SELECTOR, and set z-index
tooltip.addClass(MODALCLASS).css('z-index', PLUGINS.modal.zindex + $(MODALSELECTOR).length);
tooltip.addClass(MODALCLASS).css('z-index', QTIP.modal_zindex + $(MODALSELECTOR).length);

// Apply our show/hide/focus modal events
qtip._bind(tooltip, ['tooltipshow', 'tooltiphide'], function(event, api, duration) {
Expand All @@ -242,7 +242,7 @@ $.extend(Modal.prototype, {
var qtips = $(MODALSELECTOR),

// Keep the modal's lower than other, regular qtips
newIndex = PLUGINS.modal.zindex + qtips.length,
newIndex = QTIP.modal_zindex + qtips.length,
curIndex = parseInt(tooltip[0].style.zIndex, 10);

// Set overlay z-index
Expand Down

0 comments on commit 888f841

Please sign in to comment.