From 281453bb69e0c52c03e2e1555bdd500c7fce8063 Mon Sep 17 00:00:00 2001 From: Ephemera Date: Sat, 17 May 2014 23:37:04 +0900 Subject: [PATCH] Get tree correctly when it is with sha hash --- src/inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } }