Skip to content

Commit

Permalink
Fix typo in FlagEditForm.vue (CTFd#1793)
Browse files Browse the repository at this point in the history
Fix typo in FlagEditForm.vue
Related to CTFd#1779
  • Loading branch information
ColdHeat authored Feb 5, 2021
1 parent 3af0b68 commit 657bafd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default {
this.editForm = template.render(this.flag);
// TODO: See https://github.com/CTFd/CTFd/issues/1779
if (this.createForm.includes("<script")) {
if (this.editForm.includes("<script")) {
setTimeout(() => {
$(`<div>` + this.editForm + `</div>`)
.find("script")
Expand Down
2 changes: 1 addition & 1 deletion CTFd/themes/admin/static/js/components.dev.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CTFd/themes/admin/static/js/components.min.js

Large diffs are not rendered by default.

0 comments on commit 657bafd

Please sign in to comment.