Skip to content

Commit 956c395

Browse files
committed
Updated _requestAllPages due to the restore of the XHR object
1 parent bd88d62 commit 956c395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109

110110
results.push.apply(results, res);
111111

112-
var links = (xhr.headers.link || '').split(/\s*,\s*/g);
112+
var links = (xhr.getResponseHeader('link') || '').split(/\s*,\s*/g);
113113
var next = null;
114114

115115
links.forEach(function (link) {

0 commit comments

Comments
 (0)