Skip to content

Commit

Permalink
Quick typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WebCoder49 authored May 18, 2023
1 parent f6a4d50 commit 8567612
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ var codeInput = {
this.ignoreValueUpdate = true;
this.value = text; // Change value attribute if necessary.
this.ignoreValueUpdate = false;
if(this.querySelector("textarea").value != text) this.queryS
this.querySelector("textarea").value = text;
if(this.querySelector("textarea").value != text) this.querySelector("textarea").value = text;


let result_element = this.querySelector("pre code");
Expand Down Expand Up @@ -420,4 +419,4 @@ var codeInput = {
}
}

customElements.define("code-input", codeInput.CodeInput); // Set tag
customElements.define("code-input", codeInput.CodeInput); // Set tag

0 comments on commit 8567612

Please sign in to comment.