diff --git a/client/galaxy/scripts/layout/page.js b/client/galaxy/scripts/layout/page.js index 8cef58f32d2..35777d09039 100644 --- a/client/galaxy/scripts/layout/page.js +++ b/client/galaxy/scripts/layout/page.js @@ -61,11 +61,12 @@ var View = Backbone.View.extend({ this.render(); // start the router - this.router && + if (this.router) { Backbone.history.start({ root: Galaxy.root, pushState: true }); + } }, render: function() { diff --git a/client/galaxy/scripts/qunit/tests/page_tests.js b/client/galaxy/scripts/qunit/tests/page_tests.js index d7b4951e7e4..5d70e19653d 100644 --- a/client/galaxy/scripts/qunit/tests/page_tests.js +++ b/client/galaxy/scripts/qunit/tests/page_tests.js @@ -1,8 +1,7 @@ -/* global define */ +/* global QUnit */ import testApp from "qunit/test-app"; import Page from "layout/page"; -import Panel from "layout/panel"; QUnit.module("Page test", { beforeEach: function() {