summaryrefslogtreecommitdiff
path: root/lib/scripts
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-09-10 00:25:36 +0200
committerMichael Hamann <michael@content-space.de>2012-09-10 00:28:16 +0200
commit30c1351e814dcc13497a61f65fa05a0901d5436a (patch)
tree9c8a2f0b32272c65e9556319092b30570209cee6 /lib/scripts
parent28c7c067399b7a0c1844ca0f7d46d260b632ec08 (diff)
downloadrpg-30c1351e814dcc13497a61f65fa05a0901d5436a.tar.gz
rpg-30c1351e814dcc13497a61f65fa05a0901d5436a.tar.bz2
Fix media manager height handling after resize FS#2369
The height handling code was triggered before the width handling code and thus the right pane was below the other panes during the height calculations which caused strange effects. Now the height handling code is called again after adjusting the width of the right pane.
Diffstat (limited to 'lib/scripts')
-rw-r--r--lib/scripts/media.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js
index 8f3c00c88..182d5fefe 100644
--- a/lib/scripts/media.js
+++ b/lib/scripts/media.js
@@ -514,6 +514,8 @@ var dw_mediamanager = {
});
}
+ dw_mediamanager.resize();
+
dw_mediamanager.opacity_slider();
dw_mediamanager.portions_slider();
}