Browse Source

it is not reacting the link behind the backdorop.

pull/765/head
Yusuke Kimita 10 years ago
parent
commit
3f88f0596a
  1. 3
      js/popovers.js

3
js/popovers.js

@ -34,10 +34,11 @@
element.classList.add('backdrop'); element.classList.add('backdrop');
element.addEventListener('touchend', function () { element.addEventListener('touchend', function (e) {
popover.addEventListener(window.RATCHET.getTransitionEnd, onPopoverHidden); popover.addEventListener(window.RATCHET.getTransitionEnd, onPopoverHidden);
popover.classList.remove('visible'); popover.classList.remove('visible');
popover.parentNode.removeChild(backdrop); popover.parentNode.removeChild(backdrop);
e.preventDefault();
}); });
return element; return element;

Loading…
Cancel
Save