wiki icon indicating copy to clipboard operation
wiki copied to clipboard

feat: update comment module "Artalk"

Open cdn0x12 opened this issue 2 years ago • 0 comments

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)

cdn0x12 avatar Dec 23 '23 13:12 cdn0x12