1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

ES5 not ES6

This commit is contained in:
petermcneil 2019-06-23 16:56:04 +01:00
parent d7180c21ca
commit f7376f5d90
No known key found for this signature in database
GPG key ID: D6F26AA044850705

View file

@ -26,11 +26,11 @@ define(["dialogHelper", "loading", "connectionManager", "globalize", "actionshee
} }
function onChannelsElementClick(e) { function onChannelsElementClick(e) {
const btnMap = parentWithClass(e.target, "btnMap"); var btnMap = parentWithClass(e.target, "btnMap");
if (btnMap) { if (btnMap) {
const channelId = btnMap.getAttribute("data-id"); var channelId = btnMap.getAttribute("data-id");
const providerChannelId = btnMap.getAttribute("data-providerid"); var providerChannelId = btnMap.getAttribute("data-providerid");
const menuItems = currentMappingOptions.ProviderChannels.map(function(m) { var menuItems = currentMappingOptions.ProviderChannels.map(function(m) {
return { return {
name: m.Name, name: m.Name,
id: m.Id, id: m.Id,