Commit fc7f9031 authored by Nikolay Gromov's avatar Nikolay Gromov

Добавил определение i-устройств в head-script.js

parent 582ef22c
Pipeline #48 canceled with stages
...@@ -9,6 +9,7 @@ if(!(/*@cc_on!@*/false||!!document.documentMode)&&!!window.StyleMedia)cth('edge' ...@@ -9,6 +9,7 @@ if(!(/*@cc_on!@*/false||!!document.documentMode)&&!!window.StyleMedia)cth('edge'
if(!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime))cth('chrome'); if(!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime))cth('chrome');
if(~navigator.appVersion.indexOf("Win"))cth('windows'); if(~navigator.appVersion.indexOf("Win"))cth('windows');
if(~navigator.appVersion.indexOf("Mac"))cth('osx'); if(~navigator.appVersion.indexOf("Mac"))cth('osx');
if(~['iPad','iPhone','iPod'].indexOf(navigator.platform))cth('ios');
if(~navigator.appVersion.indexOf("Linux"))cth('linux'); if(~navigator.appVersion.indexOf("Linux"))cth('linux');
// Добавление 1vh (использование: height: 100vh; height: calc(var(--vh, 1vh) * 100);) для фикса 100vh на мобилках // Добавление 1vh (использование: height: 100vh; height: calc(var(--vh, 1vh) * 100);) для фикса 100vh на мобилках
......
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