Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Mar 13, 2024
1 parent d19b553 commit f9839c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Setup Deno
run: |
curl -fsSL https://deno.land/x/install/install.sh | sh ${{ matrix.deno == 'old' && '-s v1.34.1' || '' }}
curl -fsSL https://deno.land/x/install/install.sh | sh ${{ matrix.deno == 'old' && '-s v1.41.2' || '' }}
echo "$HOME/.deno/bin" >> $${{ runner.os == 'Windows' && 'env:' || '' }}GITHUB_PATH
- name: Upgrade to Deno canary
if: matrix.deno == 'canary'
Expand Down
1 change: 1 addition & 0 deletions static/src/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function copyOgImageOnEvent() {
/* Adopted from https://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript/33928558#33928558 */
function copyToClipboardLegacy(text: string) {
// @ts-ignore: external code
// deno-lint-ignore no-window
if (window.clipboardData && window.clipboardData.setData) {
// @ts-ignore: external code
return window.clipboardData.setData("Text", text);
Expand Down

0 comments on commit f9839c2

Please sign in to comment.