We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d62ef84 + 3e53ab0 commit 39d8b86Copy full SHA for 39d8b86
repo.js
@@ -192,7 +192,7 @@
192
el.addClass('active');
193
} else {
194
$.ajax({
195
- url: 'https://api.github.com/repos/' + _this.settings.user + '/' + _this.settings.name + '/contents/' + link.data('path'),
+ url: 'https://api.github.com/repos/' + _this.settings.user + '/' + _this.settings.name + '/contents/' + link.data('path') + '?ref=' + _this.settings.branch,
196
type: 'GET',
197
data: {},
198
dataType: 'jsonp',
0 commit comments