Skip to content

Commit

Permalink
Исправляет ошибку в практике для will-change (doka-guide#4710)
Browse files Browse the repository at this point in the history
  • Loading branch information
myznikovgleb authored and baileys-li committed Dec 19, 2024
1 parent 2ef0bcf commit a760e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/will-change/practice/madey-kv.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const el = document.getElementById('element')

// Включаем will-change при наведении курсора на элемент
el.addEventListener('mouseenter', hintBrowser)
el.addEventListener('animationEnd', removeHint)
el.addEventListener('transitionend', removeHint)

function hintBrowser() {
// Свойства, которые будут изменяться в блоке
Expand Down

0 comments on commit a760e66

Please sign in to comment.