Skip to content

Commit

Permalink
Update hbe.js (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dong authored May 18, 2023
1 parent 7a820d3 commit a98a715
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/hbe.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ const knownPrefix = "<hbe-prefix></hbe-prefix>";
tocDivs[idx].style.display = 'inline';
}
}

// trigger event
var event = new Event('hexo-blog-decrypt');
window.dispatchEvent(event);

return await verifyContent(hmacKey, decoded);
}).catch((e) => {
Expand Down

0 comments on commit a98a715

Please sign in to comment.