ну теперь точно фикс строк
This commit is contained in:
@@ -254,7 +254,10 @@ if (typeof window.administrators !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
|
@@ -704,7 +704,10 @@ if (typeof window.chat !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") row.setAttribute("data-selected", "true");
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
// Деинициализация устаревшего интервала обновления чата
|
||||
@@ -841,7 +844,10 @@ if (typeof window.chat !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") row.setAttribute("data-selected", "true");
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@@ -1668,7 +1668,10 @@ if (typeof window.markets !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -2496,7 +2499,10 @@ if (typeof window.markets !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
|
@@ -254,7 +254,10 @@ if (typeof window.operators !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
|
@@ -1696,7 +1696,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -2146,7 +2149,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -2303,7 +2309,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -2388,7 +2397,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -2628,7 +2640,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -2740,7 +2755,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -3793,7 +3811,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -3893,7 +3914,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -3996,7 +4020,10 @@ if (typeof window.tasks !== "function") {
|
||||
row.classList.add("published");
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -4116,7 +4143,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.remove("published");
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
|
||||
@@ -4936,7 +4966,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -5036,7 +5069,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -5417,7 +5453,10 @@ if (typeof window.tasks !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
} else {
|
||||
@@ -5512,7 +5551,10 @@ if (typeof window.tasks !== "function") {
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (
|
||||
typeof selected === "string" && selected === "true"
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(
|
||||
document.getElementById("popup"),
|
||||
)
|
||||
) row.setAttribute("data-selected", "true");
|
||||
|
||||
// Если непрочитанных сообщений стало больше, то проиграть звук уведомления
|
||||
|
@@ -2053,7 +2053,10 @@ if (typeof window.workers !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
@@ -3385,7 +3388,10 @@ if (typeof window.workers !== "function") {
|
||||
// row.classList.add(...buffer);
|
||||
|
||||
// Копирование статуса активной строки
|
||||
if (typeof selected === "string" && selected === "true") {
|
||||
if (
|
||||
typeof selected === "string" && selected === "true" &&
|
||||
document.body.contains(document.getElementById("popup"))
|
||||
) {
|
||||
row.setAttribute("data-selected", "true");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user