Skip to content

Commit

Permalink
Add new CSS class to view image button text selector
Browse files Browse the repository at this point in the history
  • Loading branch information
bijij committed Jun 15, 2022
1 parent 546b64c commit c5ac22b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions js/content-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,10 @@ function addViewImageButton(container, imageURL, version) {
viewImageButtonText = viewImageButton.querySelector('.irc_ho');
break;
case VERSIONS.OCT19:
viewImageButtonText = viewImageButton.querySelector('.pM4Snf, .KSvtLc, .Pw5kW');
viewImageButtonText = viewImageButton.querySelector('.pM4Snf, .KSvtLc, .Pw5kW, .q7UPLe, .K8E1Be, .pFBf7b, span');
break;
}


if (options['manually-set-button-text']) {
viewImageButtonText.innerText = options['button-text-view-image'];
} else {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "__MSG_appName__",
"version": "3.6.4",
"version": "3.6.5",
"description": "__MSG_appDesc__",
"default_locale": "en",
"icons": {
Expand Down

0 comments on commit c5ac22b

Please sign in to comment.