Explorar el Código

fix: make comment module "Artalk" work with newer versions (#6901)

* feat: update comment module "Artalk"
* fix: update code.yml

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
CDN hace 1 año
padre
commit
f1161aed59
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      server/modules/comments/artalk/code.yml

+ 1 - 1
server/modules/comments/artalk/code.yml

@@ -6,7 +6,7 @@ head: |
 body: |
   <script>
     window.onload = function() {
-      new Artalk({
+      Artalk.init({
         el:        '#artalk-container',
         pageKey:   '{{pageId}}',
         pageTitle: '',