if (this.settings.basket) {
this.cart = new FluidbookCart(this);
}
- if (this.settings.form == 'bulle') {
+ if (this.settings.form === 'bulle') {
this.form = new FluidbookBulleForm(this);
- } else if (this.settings.form == 'bourbon') {
+ } else if (this.settings.form === 'bourbon') {
this.form = new FluidbookBourbonForm(this);
- } else if (this.settings.form == 'avery') {
+ } else if (this.settings.form === 'avery') {
this.form = new FluidbookAveryForm(this);
} else {
- this.form == false;
+ this.form = false;
}
this.privacy = new FluidbookPrivacy(this);
if (typeof window.FluidbookTabs === 'function') {
this.pagetransitions = new FluidbookPageTransition(this);
this.stats = new FluidbookStats(this);
this.stats.track(10);
+ this.help = new FluidbookHelp(this);
this.initTheme();
this.initKeyboardShortcuts();
this.slider = new FluidbookSlider(this);
}
- this.help = new FluidbookHelp(this);
-
// Trigger a resize
resize();