Skip to content

Commit

Permalink
fix dynamic data element check (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip authored Feb 18, 2020
1 parent 42cf104 commit 544100d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/subapp-web/src/subapp-web.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
dyn(id) {
const msg = "ERROR: fail retrieve dynamic data from element";
const element = document.getElementById(id);
if (!id) {
if (!element) {
console.error(msg, id, "- get");
} else {
try {
Expand Down

0 comments on commit 544100d

Please sign in to comment.