From c09cffc0788a86f663a84aa805c9518bc15ce193 Mon Sep 17 00:00:00 2001 From: arzynik Date: Tue, 13 Aug 2013 08:59:08 -0700 Subject: [PATCH] unsure if we need this or not --- www/assets/js/app.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/www/assets/js/app.js b/www/assets/js/app.js index 6f7b40b16..701142430 100644 --- a/www/assets/js/app.js +++ b/www/assets/js/app.js @@ -68,9 +68,11 @@ App.confirm = function(txt, title) { }; App.go = function(url) { - App.rootScope.$apply(function($location) { - $location.path(App.isPhoneGap ? url : 'index.html#' + url); - }); +// @todo: do some tests to figure out if we need this or not +// App.rootScope.$safeApply(function() { +// App.location.path(!App.isPhoneGap ? url : 'index.html#' + url); + App.location.path(url); +// }); };