10000 Focus automatically in demo site · typescript-bot/TypeSearch@7449c3c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7449c3c

Browse files
committed
Focus automatically in demo site
1 parent 8030915 commit 7449c3c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
<script src="bin/search.js"></script>
1111
<script>
1212
$(function() {
13-
typeSearch(document.getElementById('demo'));
13+
var el = document.getElementById('demo');
14+
typeSearch(el);
15+
$(el).focus();
1416
});
1517
</script>
1618
</head>

update-gh.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git checkout gh-pages && git merge master && git push && git checkout master

0 commit comments

Comments
 (0)
0