mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-30 00:20:57 +03:00
Enabled strict template mode in Angular
Code cleanup
This commit is contained in:
@@ -45,7 +45,7 @@ export class TwitchChatComponent implements OnInit, OnDestroy {
|
||||
return position > height - threshold;
|
||||
}
|
||||
|
||||
scrollToBottom = (force_scroll) => {
|
||||
scrollToBottom = (force_scroll = false) => {
|
||||
if (force_scroll || this.isUserNearBottom()) {
|
||||
this.scrollContainer.scrollTop = this.scrollContainer.scrollHeight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user