Skip to content

Commit

Permalink
using .innerHTML makes JSON reappear (closes #478)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Sep 9, 2015
1 parent 364bbd0 commit d4ecacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/core/include-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ define(
}
return val;
}
script.innerText = JSON.stringify(conf, confFilter, 2);
script.innerHTML = JSON.stringify(conf, confFilter, 2);
script.type = "application/json";
doc.head.appendChild(script);
msg.pub("end", "core/include-config");
Expand Down

0 comments on commit d4ecacb

Please sign in to comment.