rm console log
This commit is contained in:
parent
9690e98162
commit
6a2a88f847
1 changed files with 0 additions and 3 deletions
|
|
@ -9,16 +9,13 @@ angular.module('copayApp.services').factory('go', function($window, $location) {
|
||||||
|
|
||||||
// hack to hide sidebars and use ng-click (no href=)
|
// hack to hide sidebars and use ng-click (no href=)
|
||||||
var win = angular.element($window);
|
var win = angular.element($window);
|
||||||
console.log('[go.js.8:win:]',win); //TODO
|
|
||||||
var elem = angular.element(document.querySelector('#off-canvas-wrap'))
|
var elem = angular.element(document.querySelector('#off-canvas-wrap'))
|
||||||
console.log('[go.js.10:elem:]',elem); //TODO
|
|
||||||
elem.removeClass('move-right');
|
elem.removeClass('move-right');
|
||||||
elem.removeClass('move-left');
|
elem.removeClass('move-left');
|
||||||
};
|
};
|
||||||
|
|
||||||
root.go = function(path) {
|
root.go = function(path) {
|
||||||
var parts = path.split('#');
|
var parts = path.split('#');
|
||||||
console.log('[go.js.15:parts:]',parts); //TODO
|
|
||||||
$location.path(parts[0]);
|
$location.path(parts[0]);
|
||||||
if (parts[1])
|
if (parts[1])
|
||||||
$location.hash(parts[1]);
|
$location.hash(parts[1]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue