Browse Source

Merge pull request #1 from withstandist/popover

it is not reacting the link behind the backdorop.
pull/764/head
Yusuke Kimita 10 years ago
parent
commit
5014e95c71
  1. 3
      js/popovers.js

3
js/popovers.js

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

Loading…
Cancel
Save