Skip to content

Commit

Permalink
Merge pull request #105 from gatewayapps/bug/104-multiple-dots
Browse files Browse the repository at this point in the history
Fixed issue with multiple periods within repo not working. Increased …
  • Loading branch information
johnmurphy01 authored Nov 28, 2017
2 parents 28f8536 + 5a9a27e commit f5e9cf8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,10 @@ function ajaxRequest(type, data, url) {

function addRepoToList(repoFullName, repo) {
// add the repo to the list
$('.repoDropdown').append('<li data-toggle="modal" id="' + repo.replace('.', '_') + '" data-target="#kaminoModal"><a class="repoItem" href="#">' + repoFullName + '</a></li>')
$('#' + repo.replace('.', '_')).bind('click', () => { itemClick(repoFullName) })
const periodReplace = repo.replace(/\./g, '_')

$('.repoDropdown').append('<li data-toggle="modal" id="' + periodReplace + '" data-target="#kaminoModal"><a class="repoItem" href="#">' + repoFullName + '</a></li>')
$('#' + periodReplace).bind('click', () => { itemClick(repoFullName) })
}

function populateUrlMetadata() {
Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ a {
z-index: 1000;
display: none;
float: left;
min-width: 260px;
min-width: 280px;
height: 300px;
overflow-y: auto;
overflow-x: hidden;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"webNavigation",
"*://github.com/*"
],
"version": "2.7",
"version": "2.8",
"web_accessible_resources":[
"icons/*.png",
"bootstrap/js/bootstrap.min.js",
Expand Down

0 comments on commit f5e9cf8

Please sign in to comment.