diff --git a/src/components/actionsheet/actionsheet.js b/src/components/actionsheet/actionsheet.js index 8440011b85..8cd8d53f4e 100644 --- a/src/components/actionsheet/actionsheet.js +++ b/src/components/actionsheet/actionsheet.js @@ -127,16 +127,16 @@ export function show(options) { if (options.dialogClass) { dlg.classList.add(options.dialogClass); } - + let html = ''; - + const scrollClassName = layoutManager.tv ? 'scrollY smoothScrollY hiddenScrollY' : 'scrollY'; let style = ''; // Admittedly a hack but right now the scrollbar is being factored into the width which is causing truncation if (options.items.length > 20) { const minWidth = dom.getWindowSize().innerWidth >= 300 ? 240 : 200; - style += "min-width:" + minWidth + "px;"; + style += 'min-width:' + minWidth + 'px;'; } let renderIcon = false; @@ -153,7 +153,7 @@ export function show(options) { } if (layoutManager.tv) { - html += ''; + html += ''; } // If any items have an icon, give them all an icon just to make sure they're all lined up evenly @@ -214,9 +214,9 @@ export function show(options) { itemIcon = icons[i]; if (itemIcon) { - html += '' + itemIcon + ''; + html += ''; } else if (renderIcon && !center) { - html += 'check'; + html += ''; } html += '