|
@@ -1512,7 +1512,8 @@
|
|
this.cartelSwitchInterval = setInterval(this.switchCartel.bind(this), this.cartelSwitchIntervalMS);
|
|
this.cartelSwitchInterval = setInterval(this.switchCartel.bind(this), this.cartelSwitchIntervalMS);
|
|
}
|
|
}
|
|
// call drupal behaviours (for addtoany)
|
|
// 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
|
|
// open automaticly tha article if needed
|
|
this.setAutoOpenArticle();
|
|
this.setAutoOpenArticle();
|