Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sblask committed Nov 20, 2023
1 parent d054c00 commit d2f842a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ repos:
types_or:
- javascript
additional_dependencies:
- [email protected]
- "@stylistic/[email protected]"
- "@eslint/[email protected]"
- "@stylistic/[email protected]"
- [email protected]
- [email protected]

- id: translation-check
name: translation-check
Expand Down
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ function copyToClipboard(text) {
chainPromises([
() => { return browser.tabs.executeScript({code: "typeof copyToClipboard === 'function';"}); },
(results) => { return injectScriptIfNecessary(results && results[0]); },
() => { return browser.tabs.executeScript({code: `copyToClipboard("${lastSourceURL}")`}); },
() => { return browser.tabs.executeScript({code: `copyToClipboard("${text}")`}); },
]);
}

Expand Down

0 comments on commit d2f842a

Please sign in to comment.