diff --git a/src/inject.js b/src/inject.js index 4257ea3..52a4183 100755 --- a/src/inject.js +++ b/src/inject.js @@ -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' } }