Bladeren bron

fixed this. attachBehaviors bug

bach 1 maand geleden
bovenliggende
commit
94eec641da

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/edlptheme/assets/dist/scripts/main.min.js


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/edlptheme/assets/dist/scripts/redirect.min.js


+ 2 - 1
web/themes/custom/edlptheme/assets/scripts/main.js

@@ -1512,7 +1512,8 @@
             this.cartelSwitchInterval = setInterval(this.switchCartel.bind(this), this.cartelSwitchIntervalMS);
           }
           // call drupal behaviours (for addtoany)
-          Drupal.attachBehaviors(this.$cartel);
+          console.log('AudioPlayer onNodeLoaded', this.$cartel);
+          Drupal.attachBehaviors(this.$cartel.get(0));
         }
         // open automaticly tha article if needed
         this.setAutoOpenArticle();

Some files were not shown because too many files changed in this diff