mirror of https://github.com/xwiki-labs/cryptpad
feedback on view hash usage
This commit is contained in:
parent
52eb8e307c
commit
e10de1219b
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue