wiki
wiki copied to clipboard
feat: update comment module "Artalk"
The Artalk comment module is not compatible with Artalk v2.7+, which requires invocation on an instance created by either Artalk.init or new Artalk.
The original code.yml will result in below error:
Uncaught TypeError: Artalk is not a constructor
onload https://<wiki-js-url>/:42
[<wiki-js-url>:42:5](https://<wiki-js-url>/)
onload https://<wiki-js-url>/:42
The updated code.yml works for both v2.7+ and older versions (tested with v2.6.4)