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 () {
var pattern = window.location.pathname.split('/')
.filter(function (x) { return x; }).join('.');
if (/^#\/1\/view\//.test(window.location.hash)) {
feedback(pattern + '_VIEW');
} else {
feedback(pattern);
}
};
common.reportScreenDimensions = function () {