Skip to content

Commit ea4a326

Browse files
committed
Fix tabindex selector
1 parent 9452bd8 commit ea4a326

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Griddly/Scripts/editly.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292

9393
var movement = function (element, keycode) {
9494
if (keycode === ARROW_RIGHT)
95-
return element.next('td:tabindex');
95+
return element.nextAll('td[tabindex]:first');
9696
else if (keycode === ARROW_LEFT)
97-
return element.prev('td:tabindex');
97+
return element.prevAll('td[tabindex]:first');
9898
else if (keycode === ARROW_UP)
9999
return element.parent().prev().children().eq(element.index());
100100
else if (keycode === ARROW_DOWN)

0 commit comments

Comments
 (0)