Skip to content

Commit 50f883e

Browse files
committed
update typeahead source on popover show
1 parent ac469d4 commit 50f883e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chrome/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ var trelloGithub = (function($, Trello) {
5656
popover.toggle();
5757
popover.offset(popoverOffset);
5858
$('#github-repo').focus();
59+
$('#github-repo').typeahead({
60+
source:JSON.parse(localStorage.getItem('knownRepos')),
61+
items:4
62+
});
5963
}
6064

6165
var addButton = exports.addButton = function() {

0 commit comments

Comments
 (0)