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) {
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,