ошибка анализа: неверная sfntversion < /p>
< /blockquote>
Код: Выделить всё
symbolCards.forEach(card => {
card.addEventListener('click', function() {
const symbol = this.getAttribute('data-symbol');
// Copy to clipboard
navigator.clipboard.writeText(symbol).then(() => {
// Show notification
notification.classList.add('show');
// Hide notification after 2 seconds
setTimeout(() => {
notification.classList.remove('show');
}, 2000);
}).catch(err => {
console.error('Failed to copy: ', err);
alert('Failed to copy symbol. Please try again.');
});
});
});
Подробнее здесь: https://stackoverflow.com/questions/797 ... ot-working
Мобильная версия