Commit c4c81702 authored by nursultan's avatar nursultan

fix script for display

parent 6ccf7d40
if (location.hostname === "faceplate.ru"){
document.querySelector(".main-lang").style = "display: none";
document.querySelectorAll(".io-version").forEach(item => item.style = "display: none");
} else {
document.querySelectorAll(".ru-version").forEach(item => item.style = "display: none");
}
const nav_hum = document.querySelector('.ham');
const main_nav = document.querySelector('#main-nav');
......@@ -176,3 +169,10 @@ document.querySelector('.video-container').addEventListener( 'click', function(e
});
if (location.hostname === "faceplate.ru"){
document.querySelector(".main-lang").style = "display: none";
document.querySelectorAll(".io-version").forEach(item => item.style = "display: none");
} else {
document.querySelectorAll(".ru-version").forEach(item => item.style = "display: none");
}
......@@ -141,7 +141,7 @@
<p class="footer-address rus io-version">Республика Казахстан, 050061 <br/> г. Алматы, пр. Раймбека, 348а <br/> Tел. +7
727 321 21 61</p>
<p class="footer-address rus ru-version">ООО "Фэйсплэйт" - 127204, <br/>
<p class="footer-address ru-version">ООО "Фэйсплэйт" - 127204, <br/>
г. Москва, Долгопрудненское шоссе, дом 3, этаж 2, помещение VII, комната 24.
</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment