Skip to content

Commit

Permalink
Merge pull request #66 from horihiro/fix-issue65
Browse files Browse the repository at this point in the history
Fix issue #65
  • Loading branch information
horihiro authored May 4, 2024
2 parents f90997e + f3bdf29 commit a5fbae3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ If you can try a development version, the following steps are needed.

# Change logs

## [0.2.4](https://github.com/horihiro/TextBlurrer-ChromeExtension/releases/tag/0.2.4)

- Bug fixes
- Fix tab title masking ([#65](https://github.com/horihiro/TextBlurrer-ChromeExtension/issues/65))

## [0.2.3](https://github.com/horihiro/TextBlurrer-ChromeExtension/releases/tag/0.2.3)

- Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion content/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
if (from.node == to.node) {
const computedStyle = getComputedStyle(from.node.parentNode);
const size = Math.floor(parseFloat(computedStyle.fontSize) / 4);
if (from.node.textContent === match.keyword && computedStyle.filter === 'none') {
if (from.node.textContent === match.keyword && from.node.parentNode.childNodes.length == 1 && computedStyle.filter === 'none') {
from.node.parentNode.classList.add(CLASS_NAME_BLURRED);
from.node.parentNode.classList.add(CLASS_NAME_KEEP);
if (options?.showValue) {
Expand Down

0 comments on commit a5fbae3

Please sign in to comment.