app/assets/javascripts/pageflow/before_after.js in pageflow-before-after-0.5.0 vs app/assets/javascripts/pageflow/before_after.js in pageflow-before-after-1.0.0
- old
+ new
@@ -65,10 +65,10 @@
pageElement.find('h2 .title').text(configuration.get('title') || '');
pageElement.find('h2 .subtitle').text(configuration.get('subtitle') || '');
pageElement.find('p').html(configuration.get('text') || '');
pageElement.find('.control_bar_text').text(configuration.get('control_bar_text') ||
I18n.t('pageflow.public.before_after.start', {
- locale: pageflow.entry.configuration.get('locale')
+ locale: pageflow.seed.locale
}));
this.updateInfoBox(pageElement, configuration);
this.updateCommonPageCssClasses(pageElement, configuration);