Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Jul 29, 2024
1 parent 8a80125 commit 8963867
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Yeah! for Twitter",
"description": "Adds a Yeah! button to Twitter",
"version": "1.0.9",
"version": "1.1.0",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/YeahTwitter",
"permissions": [
Expand Down
1 change: 1 addition & 0 deletions scripts/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ function hookIntoTweets() {
}
});
tweet.addEventListener("keydown", (e) => {
if(e.target.tagName === 'INPUT' || e.target.tagName === 'TEXTAREA') return;
if(e.key === "y") button.click();
});
button.addEventListener('mouseover', () => {
Expand Down

0 comments on commit 8963867

Please sign in to comment.