Pārlūkot izejas kodu

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 1 gadu atpakaļ
vecāks
revīzija
f1161aed59
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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: '',