summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-11-21 15:29:41 -0500
committerPliable Pixels <pliablepixels@gmail.com>2019-11-21 15:29:41 -0500
commita9dff8d4aa7bd617ab20a6107fa474e17643e9f8 (patch)
tree1e963eefe2c5de58bf74428ee13f724731b5c2ea /www/js/app.js
parent167ffb6505ccbf6f126a90d6b85c60940fc9c27b (diff)
#866 don't force a max viewport and recompute height on redraw
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index d01006d0..690c60c6 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1465,7 +1465,10 @@ angular.module('zmApp', [
$rootScope.devWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width);
$rootScope.devHeight = ((window.innerHeight > 0) ? window.innerHeight : screen.height);
- // console.log("********NEW Computed Dev Width & Height as" + $rootScope.devWidth + "*" + $rootScope.devHeight);
+ //console.log("********NEW Computed Dev Width & Height as" + $rootScope.devWidth + "*" + $rootScope.devHeight);
+
+ $rootScope.$broadcast('sizechanged');
+
},300);