Skip to content

Commit

Permalink
🐛 Fix: using fixit-encryptor shortcode in an unencrypted article caus…
Browse files Browse the repository at this point in the history
…ed other styles of the article to not take effect

Fixes #410
  • Loading branch information
Lruihao committed Apr 24, 2024
1 parent 6c83d06 commit 20433ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,8 @@ class FixIt {
try {
if (this.config.encryption) {
this.initFixItDecryptor();
} else if (!this.config.encryption?.all) {
}
if (!this.config.encryption?.all) {
this.initTwemoji();
this.initDetails();
this.initLightGallery();
Expand Down

0 comments on commit 20433ed

Please sign in to comment.