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:
parent
b7189bf6f8
commit
7f98cdfec2
27 changed files with 203 additions and 64 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue