update components

This commit is contained in:
Luke Pulverenti 2016-10-06 00:28:10 -04:00
parent be99ee04d2
commit 86a369b500
20 changed files with 149 additions and 73 deletions

View file

@ -1,4 +1,5 @@
define(['layoutManager', 'browser', 'actionsheet', 'css!./emby-select', 'registerElement'], function (layoutManager, browser, actionsheet) {
'use strict';
var EmbySelectPrototype = Object.create(HTMLSelectElement.prototype);
@ -54,7 +55,7 @@
function getLabel(select) {
var elem = select.previousSibling;
while (elem && elem.tagName != 'LABEL') {
while (elem && elem.tagName !== 'LABEL') {
elem = elem.previousSibling;
}
return elem;