Уборка Unreachable statement. Замена === на == и !== на != в яваскриптах из-за ошибок с нестрогой типизацией при переходе на 7.4.

This commit is contained in:
2023-04-08 18:14:19 +03:00
parent 3f3ffc2114
commit cfaf82f73a
76 changed files with 2079 additions and 1918 deletions

View File

@@ -283,7 +283,7 @@ if ($u->stats['pbe'] > 0) {
</button>
<script>
function myWindow5(e) {// создать iframe и добавить его после кнопки
if (e.nextSibling.nodeName.toLowerCase() !== "iframe") {// если после кнопки нет iframe
if (e.nextSibling.nodeName.toLowerCase() != "iframe") {// если после кнопки нет iframe
var iframe = document.createElement('iframe');
iframe.setAttribute('src', '/bonuss.php');
iframe.setAttribute('height', '150');