diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 424c5bf52..0fdd19b5f 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -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"