Question. Why the "Pancake" works when I press on one of these elements
document.onclick = function () { if (window.i == 1) { var ctrl = true; document.getElementById('logo_text2').onmousedown = function () { ctrl = false } document.getElementById('phrase_text').onmousedown = function () { ctrl = false } document.getElementById('phrase_author').onmousedown = function () { ctrl = false } if (ctrl != false) { alert('Блин') } } }