Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2018-12-03 23:38:52 +0300
committersgiehl <stefan@piwik.org>2018-12-03 23:38:52 +0300
commit4da5b745e5f835edaf636170c6791bde5ca58c08 (patch)
tree5f002448a08018359a7389926159f28c6939ed2c /plugins/CoreHome/angularjs/history
parent168a035b9d76012947bba615b32efe025dcf2263 (diff)
cs/ws
Diffstat (limited to 'plugins/CoreHome/angularjs/history')
-rw-r--r--plugins/CoreHome/angularjs/history/history.service.js4
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;
}