mirror of
https://github.com/anatolykopyl/vk-mute.git
synced 2026-03-26 12:55:13 +00:00
Возвращение сообщений без перезагрузки
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import './dom.css'
|
||||
import {createTryToInitInterval, hideExistingMessages, tryToInitControls} from "./controls";
|
||||
import {UrlController} from "../utils/Url";
|
||||
import {addNewMessageEventListener} from "./hide_element";
|
||||
import {addNewMessageEventListener, returnMessagesEventListener} from "./hide_element";
|
||||
|
||||
function init() {
|
||||
const url = new UrlController();
|
||||
@@ -9,6 +9,7 @@ function init() {
|
||||
if (tryToInitControls()) {
|
||||
createTryToInitInterval();
|
||||
addNewMessageEventListener();
|
||||
returnMessagesEventListener();
|
||||
hideExistingMessages();
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user