update slider

This commit is contained in:
Luke Pulverenti 2017-01-07 15:11:41 -05:00
parent 76bff3d682
commit f5a9a7c6bf
5 changed files with 16 additions and 432 deletions

View file

@ -51,11 +51,11 @@
EmbySliderPrototype.attachedCallback = function () {
if (this.getAttribute('data-embycheckbox') === 'true') {
if (this.getAttribute('data-embyslider') === 'true') {
return;
}
this.setAttribute('data-embycheckbox', 'true');
this.setAttribute('data-embyslider', 'true');
this.classList.add('mdl-slider');
this.classList.add('mdl-js-slider');