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.
1 parent bdbaa78 commit dd034e9Copy full SHA for dd034e9
app/app.js
@@ -14,7 +14,7 @@ $(window).scroll(() => {
14
function start() {
15
var oldLocation;
16
setInterval(() => {
17
- if(location.origin + location.pathname != oldLocation) {
+ if(!$('.gct-folder-name').length) {
18
oldLocation = location.origin + location.pathname;
19
20
urlPullRegex = /(http|https):\/\/(www\.)?github\.com\/[-a-zA-Z0-9]*\/[-a-zA-Z0-9]*\/pull\/[0-9]*\/(files|commits)/;
@@ -31,7 +31,6 @@ function start() {
31
32
function initialSetup() {
33
if ($('.js-diff-progressive-spinner').length || !$('#files').length) {
34
- setTimeout(initialSetup, 100);
35
return;
36
}
37
0 commit comments