Fix class and element names
This commit is contained in:
parent
54d71126d9
commit
97699d513b
5 changed files with 7 additions and 7 deletions
|
@ -12,7 +12,7 @@ import './emby-scroller.css';
|
|||
const ScrollerPrototype = Object.create(HTMLDivElement.prototype);
|
||||
|
||||
ScrollerPrototype.createdCallback = function () {
|
||||
this.classList.add('../../elements/emby-scroller/emby-scroller');
|
||||
this.classList.add('emby-scroller');
|
||||
};
|
||||
|
||||
function initCenterFocus(elem, scrollerInstance) {
|
||||
|
@ -193,7 +193,7 @@ import './emby-scroller.css';
|
|||
}
|
||||
};
|
||||
|
||||
document.registerElement('../../elements/emby-scroller/emby-scroller', {
|
||||
document.registerElement('emby-scroller', {
|
||||
prototype: ScrollerPrototype,
|
||||
extends: 'div'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue