mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Pass args to init of library's masthead correctly.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user