fix places dialog height for firefox

This commit is contained in:
rolux 2011-06-02 07:01:29 +00:00
parent c2981681c1
commit 60a37b75df

View file

@ -1,7 +1,7 @@
// vim: et:ts=4:sw=4:sts=4:ft=js // vim: et:ts=4:sw=4:sts=4:ft=js
pandora.ui.placesDialog = function() { pandora.ui.placesDialog = function() {
var height = Math.round(document.height * 0.8), var height = Math.round(window.innerHeight * 0.9),
width = Math.round(document.width * 0.8), width = Math.round(window.innerWidth * 0.9),
that = new Ox.Dialog({ that = new Ox.Dialog({
buttons: [ buttons: [
new Ox.Button({ new Ox.Button({