more feedback

pull/1/head
ansuz 8 years ago
parent bd1db735dd
commit 61a891267f

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

Loading…
Cancel
Save