feedback on view hash usage

This commit is contained in:
ansuz 2017-07-10 11:13:56 +02:00
parent 52eb8e307c
commit e10de1219b
1 changed files with 5 additions and 1 deletions

View File

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