Get tree correctly when it is with sha hash

This commit is contained in:
Ephemera 2014-05-17 23:37:04 +09:00
parent 46f14f6343
commit 281453bb69
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,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'
}
}