Уборка Unreachable statement. Замена === на == и !== на != в яваскриптах из-за ошибок с нестрогой типизацией при переходе на 7.4.
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
// document.body.append($buttonChat)
|
||||
|
||||
// document.body.addEventListener("click", function (event) {
|
||||
// if (event.target === $buttonChat) {
|
||||
// if (event.target == $buttonChat) {
|
||||
|
||||
// if ($buttonChat.textContent === "Показать чат") {
|
||||
// if ($buttonChat.textContent == "Показать чат") {
|
||||
// $buttonChat.textContent = "Скрыть чат"
|
||||
|
||||
// // for (let key of $arrayChatWindow) {
|
||||
|
||||
Reference in New Issue
Block a user