2025-2-26-fixed
This commit is contained in:
18
themes/fluid/layout/_partials/plugins/encrypt.ejs
Normal file
18
themes/fluid/layout/_partials/plugins/encrypt.ejs
Normal file
@ -0,0 +1,18 @@
|
||||
<%
|
||||
import_script(`
|
||||
<script defer>
|
||||
if (document.getElementById('hbePass') || document.querySelector('hbe-prefix')) {
|
||||
Fluid.utils.waitElementLoaded('hbe-prefix', function() {
|
||||
var hbePrefix = document.querySelector('hbe-prefix');
|
||||
hbePrefix.parentElement.classList.add('markdown-body');
|
||||
Fluid.utils.retry(function() {
|
||||
if (Fluid.boot && Fluid.boot.refresh) {
|
||||
Fluid.boot.refresh();
|
||||
return true;
|
||||
}
|
||||
}, 100, 10);
|
||||
})
|
||||
}
|
||||
</script>
|
||||
`)
|
||||
%>
|
||||
Reference in New Issue
Block a user