SHA256
Обновить UI-кнопки и прокрутку
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { renderHeader } from '../components/header.js';
|
||||
import { attachScrollToBottomButton } from '../components/scroll-to-bottom-button.js';
|
||||
import {
|
||||
authService,
|
||||
getMessageReactionState,
|
||||
@@ -2042,7 +2041,6 @@ export function render({ navigate, route, chrome }) {
|
||||
screen.className = 'stack channels-screen channels-screen--channel';
|
||||
const appScreen = document.getElementById('app-screen');
|
||||
appScreen?.classList.add('channels-scroll-clean');
|
||||
const scrollToBottomControl = attachScrollToBottomButton({ scrollContainer: appScreen });
|
||||
|
||||
const statusBox = document.createElement('div');
|
||||
statusBox.className = 'card status-line is-unavailable channels-status';
|
||||
@@ -2488,7 +2486,6 @@ export function render({ navigate, route, chrome }) {
|
||||
})();
|
||||
|
||||
screen.cleanup = () => {
|
||||
scrollToBottomControl.cleanup();
|
||||
appScreen?.classList.remove('channels-scroll-clean');
|
||||
if (typeof cleanupSeenTracking === 'function') cleanupSeenTracking();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user