if composer:resizePercentage hasn't been set, default to half the page

v1.18.x
psychobunny 10 years ago
parent 0913dbbade
commit 6059165a54

@ -9,7 +9,7 @@ define('composer/resize', function() {
env; env;
resize.reposition = function(postContainer) { resize.reposition = function(postContainer) {
var percentage = localStorage.getItem('composer:resizePercentage'); var percentage = localStorage.getItem('composer:resizePercentage') || 0.5;
doResize(postContainer, percentage); doResize(postContainer, percentage);
}; };

Loading…
Cancel
Save