mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update paper button and button
This commit is contained in:
parent
9e2d289265
commit
93fcca6965
2 changed files with 62 additions and 70 deletions
|
@ -7,8 +7,6 @@ import appHost from 'apphost';
|
||||||
import 'css!./emby-button';
|
import 'css!./emby-button';
|
||||||
import 'registerElement';
|
import 'registerElement';
|
||||||
|
|
||||||
/* eslint-disable indent */
|
|
||||||
|
|
||||||
const EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
|
const EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
|
||||||
const EmbyLinkButtonPrototype = Object.create(HTMLAnchorElement.prototype);
|
const EmbyLinkButtonPrototype = Object.create(HTMLAnchorElement.prototype);
|
||||||
|
|
||||||
|
@ -75,5 +73,3 @@ import 'registerElement';
|
||||||
});
|
});
|
||||||
|
|
||||||
export default EmbyButtonPrototype;
|
export default EmbyButtonPrototype;
|
||||||
|
|
||||||
/* eslint-enable indent */
|
|
||||||
|
|
|
@ -2,8 +2,6 @@ import layoutManager from 'layoutManager';
|
||||||
import 'css!./emby-button';
|
import 'css!./emby-button';
|
||||||
import 'registerElement';
|
import 'registerElement';
|
||||||
|
|
||||||
/* eslint-disable indent */
|
|
||||||
|
|
||||||
const EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
|
const EmbyButtonPrototype = Object.create(HTMLButtonElement.prototype);
|
||||||
|
|
||||||
EmbyButtonPrototype.createdCallback = function () {
|
EmbyButtonPrototype.createdCallback = function () {
|
||||||
|
@ -18,5 +16,3 @@ import 'registerElement';
|
||||||
prototype: EmbyButtonPrototype,
|
prototype: EmbyButtonPrototype,
|
||||||
extends: 'button'
|
extends: 'button'
|
||||||
});
|
});
|
||||||
|
|
||||||
/* eslint-enable indent */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue