more feedback

This commit is contained in:
ansuz 2017-06-22 17:42:24 +02:00
parent bd1db735dd
commit 61a891267f

View file

@ -167,6 +167,12 @@ define([
feedback(pattern);
};
common.reportScreenDimensions = function () {
var h = window.innerHeight;
var w = window.innerWidth;
feedback('DIMENSIONS:' + h + 'x' + w);
};
common.getUid = function () {
if (store && store.getProxy() && store.getProxy().proxy) {
return store.getProxy().proxy.uid;
@ -1484,6 +1490,8 @@ define([
feedback("NO_ISARRAY");
}
common.reportScreenDimensions();
$(function() {
// Race condition : if document.body is undefined when alertify.js is loaded, Alertify
// won't work. We have to reset it now to make sure it uses a correct "body"