Каталог файловtilda-animation-ext-1.0.js
1501 1502 t_animationExt__chromeFixBackdropFilter(atom, wrapper, filterList);1503}1504 1505function t_animationExt__chromeFixBackdropFilter(atom, wrapper, filterList) {1506 var hasBackdropFilter = filterList.some(function (opt) {1507 return opt.filter === 'backdrop-filter';1508 });1509 if (navigator.userAgent.indexOf('Chrome') === -1 || !hasBackdropFilter) return;1510 var atomBG = window.getComputedStyle(atom).getPropertyValue('background-color');1511 var atomsOpacity = window.getComputedStyle(atom).getPropertyValue('opacity');
История файла и сравнение версий
if (atomBG === 'rgba(0, 0, 0, 0)' || atomsOpacity === '1') return;
1513 var atomsBackgroundColorRGB = atomBG.substring(atomBG.indexOf('(') + 1, atomBG.indexOf(')')); 1514 wrapper.style.backgroundColor = 'rgba(' + atomsBackgroundColorRGB + ',' + atomsOpacity + ')'; 1515 atom.style.opacity = '1'; 1516 atom.style.backgroundColor = 'transparent';