From dfabd5a322e302f3bb18e85df13d56098dc45067 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Thu, 2 Jun 2011 07:01:29 +0000 Subject: [PATCH] fix places dialog height for firefox --- static/js/pandora/ui/placesDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/ui/placesDialog.js b/static/js/pandora/ui/placesDialog.js index d3b58a7..2d397c2 100644 --- a/static/js/pandora/ui/placesDialog.js +++ b/static/js/pandora/ui/placesDialog.js @@ -1,7 +1,7 @@ // vim: et:ts=4:sw=4:sts=4:ft=js pandora.ui.placesDialog = function() { - var height = Math.round(document.height * 0.8), - width = Math.round(document.width * 0.8), + var height = Math.round(window.innerHeight * 0.9), + width = Math.round(window.innerWidth * 0.9), that = new Ox.Dialog({ buttons: [ new Ox.Button({