$(document).on("click", "#_ignoredSourcesLink", (e) => { let body = ` ${tr("ignored_clubsers_list")}
` MessageBox(tr("ignored_sources"), body, [tr("cancel")], [Function.noop]); document.querySelector(".ovk-diag-body").style.padding = "10px" document.querySelector(".ovk-diag-body").style.height = "330px" async function insertMoreSources(page) { document.querySelector("._ignorredList").insertAdjacentHTML("beforeend", ``) let ar = await API.Wall.getIgnoredSources(page) u("#loader").remove() let pagesCount = Math.ceil(Number(ar.count) / 10) for(const a of ar.items) { document.querySelector("._ignorredList").insertAdjacentHTML("beforeend", ` `) } if(ar.fact && document.querySelector("#ignoredClubersList").dataset.fact != 1) { document.querySelector("#ignoredClubersList").innerHTML += " "+tr("interesting_fact", Number(ar.fact)) document.querySelector("#ignoredClubersList").setAttribute("data-fact", "1") } if(page < pagesCount) { document.querySelector("._ignorredList").insertAdjacentHTML("beforeend", `