From 60a37b75dfe632b5b8e5626c599bd17940c1eb98 Mon Sep 17 00:00:00 2001 From: rolux 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 d3b58a7d5..2d397c288 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({