mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-25 07:48:54 +00:00
⚡ Perf: optimize fixit-encryptor shortcode and add documentations for it (#123)
This commit is contained in:
+6
-1
@@ -925,8 +925,13 @@ class FixIt {
|
||||
});
|
||||
}
|
||||
});
|
||||
if (this.config.encryption?.shortcode) {
|
||||
this.decryptor.addEventListener('decrypted', () => {
|
||||
this.decryptor.initShortcodes();
|
||||
})
|
||||
this.decryptor.initShortcodes();
|
||||
}
|
||||
this.config.encryption?.all && this.decryptor.init();
|
||||
this.config.encryption?.shortcode && this.decryptor.initShortcodes();
|
||||
}
|
||||
|
||||
onScroll() {
|
||||
|
||||
Reference in New Issue
Block a user