Add tabindex properties to scrollbars

Resolve #425
This commit is contained in:
Hyunje Alex Jun 2015-12-10 13:36:19 +09:00
parent 1dfbbe9e56
commit 8a3ed6d0b7

View File

@ -35,6 +35,7 @@ function Instance(element) {
i.scrollbarXRail = d.appendTo(d.e('div', 'ps-scrollbar-x-rail'), element);
i.scrollbarX = d.appendTo(d.e('div', 'ps-scrollbar-x'), i.scrollbarXRail);
i.scrollbarX.setAttribute('tabindex', 0);
i.scrollbarXActive = null;
i.scrollbarXWidth = null;
i.scrollbarXLeft = null;
@ -51,6 +52,7 @@ function Instance(element) {
i.scrollbarYRail = d.appendTo(d.e('div', 'ps-scrollbar-y-rail'), element);
i.scrollbarY = d.appendTo(d.e('div', 'ps-scrollbar-y'), i.scrollbarYRail);
i.scrollbarY.setAttribute('tabindex', 0);
i.scrollbarYActive = null;
i.scrollbarYHeight = null;
i.scrollbarYTop = null;