Skip to content

Commit

Permalink
restore changes to demo.html from main
Browse files Browse the repository at this point in the history
given changes from #91 this change was no longer relevant
  • Loading branch information
theinterned committed Oct 10, 2023
1 parent 70ca175 commit 6693f1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pages/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8">
<title>hotkey demo</title>
<title>hotkey | Demo</title>
</head>

<body>
Expand All @@ -17,8 +17,7 @@
<a href="#ok" data-hotkey="o k">Press <kbd>o k</kbd> click this link</a>

<script type="module">
// import {install} from '../dist/index.js'
import {install} from 'https://unpkg.com/@github/hotkey@latest?module'
import {install} from '../dist/index.js'

for (const el of document.querySelectorAll('[data-hotkey]')) {
install(el)
Expand Down

0 comments on commit 6693f1f

Please sign in to comment.