Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Commit

Permalink
overlay : use window.outerHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Aug 17, 2010
1 parent a5341bf commit 4a03c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruote-kit/views/_tree_editor.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
initEditor();

document.getElementById('overlay').style.height =
'' + ($('body').height() + 21) + 'px';
'' + window.outerHeight + 'px';

$('#overlay').slideDown(function () { $('#editor').show(); });
}
Expand Down

0 comments on commit 4a03c42

Please sign in to comment.