Browse Source

Minor cleaning.

pull/231/head
connors 11 years ago
parent
commit
2a07e69c96
  1. 5
      dist/ratchet.js
  2. 1
      lib/js/alerts.js
  3. 4
      lib/js/sliders.js

5
dist/ratchet.js vendored

@ -633,8 +633,8 @@
startTime = +new Date;
pageX = e.touches[0].pageX;
pageY = e.touches[0].pageY;
deltaX = 0;
deltaY = 0;
deltaX = 0;
deltaY = 0;
setSlideNumber(0);
@ -807,7 +807,6 @@
var getAlert = function (event) {
var alertDismiss = findAlerts(event.target);
if (alertDismiss && alertDismiss.hash) return document.querySelector(alertDismiss.hash);
console.log('get alert');
};
window.addEventListener('click', function (event) {

1
lib/js/alerts.js

@ -22,7 +22,6 @@
var getAlert = function (event) {
var alertDismiss = findAlerts(event.target);
if (alertDismiss && alertDismiss.hash) return document.querySelector(alertDismiss.hash);
console.log('get alert');
};
window.addEventListener('click', function (event) {

4
lib/js/sliders.js

@ -56,8 +56,8 @@
startTime = +new Date;
pageX = e.touches[0].pageX;
pageY = e.touches[0].pageY;
deltaX = 0;
deltaY = 0;
deltaX = 0;
deltaY = 0;
setSlideNumber(0);

Loading…
Cancel
Save