From 7ce68f6fa7deb845266107c38c6049fdcdb5f5a8 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 Sep 2015 17:29:06 -0400 Subject: using ionicons --- StoneIsland/www/js/vendor/view/router.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'StoneIsland/www/js/vendor') diff --git a/StoneIsland/www/js/vendor/view/router.js b/StoneIsland/www/js/vendor/view/router.js index 82cf9e12..bff039b7 100644 --- a/StoneIsland/www/js/vendor/view/router.js +++ b/StoneIsland/www/js/vendor/view/router.js @@ -15,6 +15,8 @@ var Router = View.extend({ parseRoute: function(pathname){ + if (pathname[0] !== "/" && pathname[0] !== "#") { pathname = "/" + pathname } + var routes = is_mobile ? this.mobileRoutes : this.routes, path = pathname.split("/"); -- cgit v1.2.3-70-g09d2