Merge pull request #65 from Ephemera/tree-with-sha

Get tree correctly when it is with sha hash
This commit is contained in:
Buu Nguyen 2014-05-17 09:20:17 -07:00
commit 205afed066
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@
return {
username : match[1],
reponame : match[2],
branch : $('*[data-master-branch]').data('ref') || 'master'
branch : $('*[data-master-branch]').data('ref') || $('*[data-master-branch] > .js-select-button').text() || 'master'
}
}