1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update icon buttons

This commit is contained in:
Luke Pulverenti 2016-06-05 16:46:19 -04:00
parent b7189bf6f8
commit 7f98cdfec2
27 changed files with 203 additions and 64 deletions

View file

@ -2,9 +2,8 @@
var EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
function animateButton(e) {
function animateButtonInternal(e, btn) {
var btn = this;
var div = document.createElement('div');
div.classList.add('ripple-effect');
@ -24,6 +23,14 @@
}, false);
}
function animateButton(e) {
var btn = this;
requestAnimationFrame(function () {
animateButtonInternal(e, btn);
});
}
function onKeyDown(e) {
if (e.keyCode == 13) {