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

Loading…
Cancel
Save