Skip to content

Commit

Permalink
Added code to treat null as null for default value variable, #440
Browse files Browse the repository at this point in the history
  • Loading branch information
AltamashShaikh committed Oct 31, 2023
1 parent 26765e0 commit b508034
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion javascripts/tagmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@
}

if ((!utils.isDefined(value) || value === null || value === false) && utils.isDefined(this.defaultValue)) {
value = this.defaultValue;
value = (this.defaultValue === 'null' ? null : this.defaultValue);
}

var i;
Expand Down
8 changes: 4 additions & 4 deletions javascripts/tagmanager.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b508034

Please sign in to comment.