diff options
author | sgiehl <stefan@piwik.org> | 2018-12-03 23:38:52 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2018-12-03 23:38:52 +0300 |
commit | 4da5b745e5f835edaf636170c6791bde5ca58c08 (patch) | |
tree | 5f002448a08018359a7389926159f28c6939ed2c /plugins/CoreHome/angularjs/history | |
parent | 168a035b9d76012947bba615b32efe025dcf2263 (diff) |
cs/ws
Diffstat (limited to 'plugins/CoreHome/angularjs/history')
-rw-r--r-- | plugins/CoreHome/angularjs/history/history.service.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/CoreHome/angularjs/history/history.service.js b/plugins/CoreHome/angularjs/history/history.service.js index 8a1a83aa31..731c9b112a 100644 --- a/plugins/CoreHome/angularjs/history/history.service.js +++ b/plugins/CoreHome/angularjs/history/history.service.js @@ -42,9 +42,7 @@ // this function makes sure URLs like http://piwik.net/?...#/module=Whatever&action=whatever still work. function changePathToSearch() { var path = $location.path(); - if (!path - || path == '/' - ) { + if (!path || path == '/') { return; } |