javascript - dblclick, click and overlapping elements -


i have modal click event bound it, modal has position: absolute , highest z-index value. modal floating above element has dblclick event bound it.

the issue when double click modal, click event fired , modal closed (that's fine), , second click on element modal floating above, , element has dblclick event fired, not wanted.

simplified fiddle: http://jsfiddle.net/4h2bx/1/

edit:

i want emphasize fact modal not aware of element floating above, cannot temper element's dblclick event


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -