Skip to content

Commit

Permalink
Text element input check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Herzog committed Jun 20, 2024
1 parent dfe60a8 commit 8695015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/js/Templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function addText(type, id, text, fontSize, top, left, isTemplate) {
box.style.fontSize=fontSize+"pt";
box.draggable=true;
box.dataset.type=type;
box.innerHTML=(typeof(text)=='undefined')?language.templates.text:text;
box.innerText=(typeof(text)=='undefined')?language.templates.text:text;
if (isTemplate) {
document.getElementById("templates_area").appendChild(box);
box.ondragstart=dragTemplate;
Expand Down

0 comments on commit 8695015

Please sign in to comment.