Skip to content

Commit 397f140

Browse files
authored
Add tabIndex to make pre and code scrollable (#303)
1 parent 66c4716 commit 397f140

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_includes/scripts.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,7 @@
178178
document.getElementById('screenshot1').style.display='block';
179179
}
180180
}
181+
182+
$('code').attr('tabindex',0);
183+
$('pre').attr('tabindex',0);
181184
</script>

0 commit comments

Comments
 (0)