Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MarazzaM committed May 17, 2024
1 parent 05a8d73 commit c84b97e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/discourse/components/custom-modal.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p> <b>Your text:</b> {{@model.textValue}}</p>
</:body>
<:footer>
<a class="btn btn-icon-text btn-primary create" href={{@model.Url}} target="_blank">
<a class="btn btn-icon-text btn-primary create" href={{@model.Url}} target="_blank" rel="noopener noreferrer">
Proceed
</a>
<DModalCancel @close={{@closeModal}} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function getTextAreaValue(api) {
// Do something with the retrieved text value
// console.log("Textarea value:", textValue);
} else {
console.error("Textarea element not found.");
throw new Error("Textarea element not found.");
}
}

Expand Down

0 comments on commit c84b97e

Please sign in to comment.