mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
ES5 not ES6
This commit is contained in:
parent
d7180c21ca
commit
f7376f5d90
@ -26,11 +26,11 @@ define(["dialogHelper", "loading", "connectionManager", "globalize", "actionshee
|
||||
}
|
||||
|
||||
function onChannelsElementClick(e) {
|
||||
const btnMap = parentWithClass(e.target, "btnMap");
|
||||
var btnMap = parentWithClass(e.target, "btnMap");
|
||||
if (btnMap) {
|
||||
const channelId = btnMap.getAttribute("data-id");
|
||||
const providerChannelId = btnMap.getAttribute("data-providerid");
|
||||
const menuItems = currentMappingOptions.ProviderChannels.map(function(m) {
|
||||
var channelId = btnMap.getAttribute("data-id");
|
||||
var providerChannelId = btnMap.getAttribute("data-providerid");
|
||||
var menuItems = currentMappingOptions.ProviderChannels.map(function(m) {
|
||||
return {
|
||||
name: m.Name,
|
||||
id: m.Id,
|
||||
|
Loading…
Reference in New Issue
Block a user