Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hparwani2 committed May 8, 2023
1 parent 5d1f77f commit d57bb97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/delayed.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ function createDigitalData() {
document.head.append(adobeotmscript);
}());

setTimeout(function(){
var head = document.getElementsByTagName("head")[0];
if(head) {
var atBodyStyle = document.getElementById("at-body-style");
atBodyStyle && head.removeChild(atBodyStyle);
setTimeout(() => {
const head = document.getElementsByTagName('head')[0];
if (head) {
const atBodyStyle = document.getElementById('at-body-style');
head.removeChild(atBodyStyle);
}
}, 30000);

0 comments on commit d57bb97

Please sign in to comment.