Skip to content

Commit

Permalink
fix: Fix build Circle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kola-Kola committed Oct 11, 2021
1 parent a9c049f commit 2cf12fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/bliinkBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ export function getKeywords() {
}

export const parseXML = (content) => {
const isIE = navigator.userAgent.indexOf('MSIE') !== -1
if (typeof content !== 'string' || content.length === 0) return null

const parser = new DOMParser()

if (window.DOMParser) {
if (!isIE) {
const xml = (parser && parser.parseFromString && parser.parseFromString(content, 'text/xml'))

if (xml &&
Expand Down

0 comments on commit 2cf12fa

Please sign in to comment.