Skip to content

Commit

Permalink
Fix detection of "cartoon" playback forms
Browse files Browse the repository at this point in the history
  • Loading branch information
blmage committed Oct 26, 2024
1 parent 1461ac3 commit 0b91dc8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/mv2/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Duolingo TTS Controls",
"version": "2.7.1",
"version": "2.7.2",
"description": "Provides playback controls for some of the challenges on Duolingo.",
"permissions": [
"https://*.duolingo.com/"
Expand Down
2 changes: 1 addition & 1 deletion dist/mv2/src/ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mv3/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Duolingo TTS Controls",
"version": "2.7.1",
"version": "2.7.2",
"description": "Provides playback controls for some of the challenges on Duolingo.",
"host_permissions": [
"https://*.duolingo.com/"
Expand Down
2 changes: 1 addition & 1 deletion dist/mv3/src/ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A small browser extension providing playback controls for some of the challenges on Duolingo.",
"license": "MIT",
"author": "blmage",
"version": "2.7.1",
"version": "2.7.2",
"scripts": {
"build": "rollup -c --environment production",
"build-debug": "rollup -c --environment development",
Expand Down
2 changes: 1 addition & 1 deletion src/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ const SLOW_PLAYBACK_BUTTON = 'slow-playback-button';
const ELEMENT_SELECTORS = {
[PLAYBACK_BUTTONS_WRAPPER]: {
[FORM_STYLE_BASIC]: '._3C4MQ ._3qAs-',
[FORM_STYLE_CARTOON]: '._31yjb .rPXvv',
[FORM_STYLE_CARTOON]: '._31yjb .rPXvv, ._31yjb ._1tbN5',
},
// The wrapper of the <button> elements which trigger playing the TTS sounds.
[PLAYBACK_BUTTON_WRAPPER]: {
Expand Down

0 comments on commit 0b91dc8

Please sign in to comment.