FinelySliced/leanModal.js — pull request #31 by ggstuart (2013-04-15 13:55:42+00:00)
Title: Corrupting the DOM with multiple #lean_overlay elements

Hi there, I've just added a conditional to prevent multiple #lean_overlay elements when leanModal is called more than once.

commit message:
Without this change, leanModal can only be called once. On subsequent calls additional, spurious #lean_overlay divs are added. Multiple copies of the same id should not be created.