Sha256: 266bf555af61abb8920ac63b3f42f11fd4f869c7efa8d37fce069aaaa71a4f80
Contents?: true
Size: 494 Bytes
Versions: 22
Compression:
Stored size: 494 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')); } };
Version data entries
22 entries across 22 versions & 1 rubygems