mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-10 05:39:38 +05:00
fix flow in comments.js
This commit is contained in:
@@ -16,9 +16,9 @@ function comments(self) {
|
|||||||
var next = xhr.getResponseHeader('next');
|
var next = xhr.getResponseHeader('next');
|
||||||
if (next == 'done') {
|
if (next == 'done') {
|
||||||
self.remove();
|
self.remove();
|
||||||
} else {
|
return;
|
||||||
self.setAttribute('href', next);
|
|
||||||
}
|
}
|
||||||
|
self.setAttribute('href', next);
|
||||||
self.textContent = 'more comments';
|
self.textContent = 'more comments';
|
||||||
}
|
}
|
||||||
xhr.send();
|
xhr.send();
|
||||||
|
|||||||
Reference in New Issue
Block a user