Skip to content

Commit

Permalink
ES5 not ES6
Browse files Browse the repository at this point in the history
  • Loading branch information
petermcneil committed Jun 23, 2019
1 parent d7180c2 commit f7376f5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/channelmapper/channelmapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f7376f5

Please sign in to comment.