forked from 0x2620/pandora
fix places dialog height for firefox
This commit is contained in:
parent
c2981681c1
commit
60a37b75df
1 changed files with 2 additions and 2 deletions
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue