Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Sep 14, 2023
1 parent 7a1c194 commit e5a1da4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions MyApp/wwwroot/mjs/components/GettingStarted.mjs
Expand Up @@ -22,9 +22,9 @@ export default {
<ShellCommand class="mb-2">dotnet watch</ShellCommand>
<div class="mt-8 text-center">
<div class="flex justify-center gap-x-2">
<PrimaryButton color="purple" href="./posts/rider">rider</PrimaryButton>
<PrimaryButton color="purple" href="./posts/vs">visualstudio</PrimaryButton>
<div class="flex justify-center">
<a class="bg-purple-500 text-purple-50 rounded px-2 py-0.5 mx-1" href="/posts/rider">rider</a>
<a class="bg-purple-500 text-purple-50 rounded px-2 py-0.5 mx-1" href="/posts/vs">visualstudio</a>
</div>
</div>
</div>`,
Expand Down
2 changes: 1 addition & 1 deletion MyApp/wwwroot/mjs/components/ShellCommand.mjs
Expand Up @@ -26,7 +26,7 @@ export default {
function copy(e) {
let $el = document.createElement("input")
let $lbl = e.target.parentElement.querySelector('label')
$el.setAttribute("value", $lbl.innerText)
$el.setAttribute("value", $lbl.innerText)
document.body.appendChild($el)
$el.select()
document.execCommand("copy")
Expand Down

0 comments on commit e5a1da4

Please sign in to comment.