Browse Source

Removed whitespace on empty lines

pull/643/head
cadrell0 11 years ago
parent
commit
c37ab5b00c
  1. 8
      js/modals.js

8
js/modals.js

@ -28,13 +28,13 @@
return document.querySelector(modalToggle.hash);
}
};
var dragging = false;
window.addEventListener('touchmove', function () {
dragging = true;
});
window.addEventListener('touchstart', function () {
dragging = false;
});
@ -43,7 +43,7 @@
if (dragging) {
return;
}
var modal = getModal(event);
if (modal) {
if (modal && modal.classList.contains('modal')) {

Loading…
Cancel
Save