feedback on view hash usage

This commit is contained in:
ansuz
2017-07-10 11:13:56 +02:00
parent 52eb8e307c
commit e10de1219b

View File

@@ -180,7 +180,11 @@ define([
common.reportAppUsage = function () { common.reportAppUsage = function () {
var pattern = window.location.pathname.split('/') var pattern = window.location.pathname.split('/')
.filter(function (x) { return x; }).join('.'); .filter(function (x) { return x; }).join('.');
feedback(pattern); if (/^#\/1\/view\//.test(window.location.hash)) {
feedback(pattern + '_VIEW');
} else {
feedback(pattern);
}
}; };
common.reportScreenDimensions = function () { common.reportScreenDimensions = function () {