fixed this. attachBehaviors bug
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user