Fix class and element names

This commit is contained in:
Bill Thornton 2020-09-08 15:43:19 -04:00 committed by vitorsemeano
parent 54d71126d9
commit 97699d513b
5 changed files with 7 additions and 7 deletions

View file

@ -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'
});