Sha256: fa3444921e1bcd359f9ef0785dd30c8bee79db9b3937ece929cdea7569e97dc9
Contents?: true
Size: 673 Bytes
Versions: 63
Compression:
Stored size: 673 Bytes
Contents
pageflow.infoBox = { updateInfoBox: function(pageElement, configuration) { var infoBox = pageElement.find('.add_info_box'); if (!infoBox.find('h3').length) { infoBox.prepend($('<h3 />')); } infoBox.find('h3').html(configuration.get('additional_title') || ''); infoBox.find('p').html(configuration.get('additional_description') || ''); infoBox.toggleClass('empty', !configuration.get('additional_description') && !configuration.get('additional_title')); infoBox.toggleClass('title_empty', !configuration.get('additional_title')); infoBox.toggleClass('description_empty', !configuration.get('additional_description')); } };
Version data entries
63 entries across 63 versions & 1 rubygems