Skip to content

Commit

Permalink
fix(tmpl): hide copy btn on error
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Mar 30, 2021
1 parent c9ad5ef commit b83105a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tmpl/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ <h4 class="subtitle">

if (!data.short_code) {
info.innerText = data.message || 'unknown error'
copy.classList.add('is-hidden')

return
}
Expand Down

0 comments on commit b83105a

Please sign in to comment.