1. Pierre Bertet
  2. jQuery Superbox!
  3. Issues
Issue #13 duplicate

Design error in content function + Fix proposal

Anonymous created an issue

Using Superbox 0.9.1

The content function duplicate the layer that you want to show, introducing inconsistencies within the DOM model like having duplicated IDs, etc.

Fixed the error adding the following line line after line #258 in the jquery.superbox.js file:

$($elt.attr('href')).remove();

To complete the solution, we should revert the node when we cclose the superbox

Cheers.

Angel Ruiz

Comments (1)

  1. Log in to comment