Browse Source

Merge branch 'master' into 2.0.0-wip

pull/210/head
connors 12 years ago
parent
commit
1038cb13e5
  1. 2
      lib/js/sliders.js

2
lib/js/sliders.js

@ -22,7 +22,7 @@
var scrollableArea;
var getSlider = function (target) {
var i, sliders = document.querySelectorAll('.slider ul');
var i, sliders = document.querySelectorAll('.slider > ul');
for (; target && target !== document; target = target.parentNode) {
for (i = sliders.length; i--;) { if (sliders[i] === target) return target; }
}

Loading…
Cancel
Save