Pass args to init of library's masthead correctly.

This commit is contained in:
Dannon Baker
2017-10-27 18:54:04 -04:00
parent 1966be9014
commit 83f118e640
@@ -71,8 +71,8 @@
$(function() {
if (!Galaxy.masthead) {
Galaxy.masthead = new Masthead.View(${ h.dumps( masthead_config ) });
Galaxy.modal = new Modal.View();
Galaxy.masthead = new Masthead.default.View((${ h.dumps( masthead_config ) }));
Galaxy.modal = new Modal.default.View();
$('#masthead').replaceWith( Galaxy.masthead.render().$el );
}
});