(element)
| 38 | } |
| 39 | |
| 40 | function removeAnimation(element) { |
| 41 | element.style.removeProperty('-webkit-animation'); |
| 42 | element.style.removeProperty('animation'); |
| 43 | element.style.removeProperty('-moz-animation'); |
| 44 | element.style.removeProperty('-o-animation'); |
| 45 | } |
| 46 | |
| 47 | function changeClasses(element, from, to) { |
| 48 | if (element.classList.contains(from)) { |
no outgoing calls
no test coverage detected