Skip to content

Commit

Permalink
smartx Bid Adapter: Outstream render bugfix numeric elementId (#6588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylinar authored Apr 15, 2021
1 parent 6ff2cf7 commit 170c82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/smartxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function createOutstreamScript(bid) {

smartPlayObj.adResponse = bid.vastContent;

const divID = '#' + elementId;
const divID = '[id="' + elementId + '"]';
var script = document.createElement('script');
script.src = 'https://dco.smartclip.net/?plc=7777778';
script.type = 'text/javascript';
Expand Down

0 comments on commit 170c82d

Please sign in to comment.