Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval( function() {
- // Find the block to which this element belongs, and set the element's tabindex to the expected tIndex
- var myBlock;
- Blocks.forEach(function(item){
- if (item.$block.find($(document.activeElement)).length) myBlock = item;
- });
- $(document.activeElement).attr('tabindex', myBlock.tIndex);
- }, 300);
Add Comment
Please, Sign In to add comment