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');
|
||||
if (next == 'done') {
|
||||
self.remove();
|
||||
} else {
|
||||
self.setAttribute('href', next);
|
||||
return;
|
||||
}
|
||||
self.setAttribute('href', next);
|
||||
self.textContent = 'more comments';
|
||||
}
|
||||
xhr.send();
|
||||
|
||||
Reference in New Issue
Block a user