more feedback
parent
bd1db735dd
commit
61a891267f
www/common
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue