var Player_chapter = Player_subtype.extend({
initialize_sections: function() {
this._super();
},
initialize2: function() {
this._super();
// chapter-specific stuff here
var $title = $('div[data-block_type="title_wrapper"] p[data-block_type="title"]')
var title_txt = $title.text();
var $h2 = $('h2')
var h2_txt = $h2.text();
if (match = title_txt.match(/(Conservative America) (in the Ascent)/)) {
$title.html(match[1] + '
' + match[2]);
}
if (match = h2_txt.match(/(Quiz for American Voices:) (Christianity and Public Life)/)) {
$h2.html(match[1] + '
' + match[2]);
}
}
});
player = new Player_chapter();