Skip to content

Commit

Permalink
Get rid of resize_ui().
Browse files Browse the repository at this point in the history
It was a stupid idea anyhow.
  • Loading branch information
icculus committed Jul 5, 2010
1 parent 896236c commit d8f0907
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions index.html
Expand Up @@ -48,16 +48,6 @@
$(element).fadeIn('slow');
} // popover


// !!! FIXME: this is kinda nasty.
function resize_ui()
{
var h = $(window).height();
h -= $('div.global_header').height();
h -= $('div.global_footer').height();
$('div.scrollable').height(h - 10);
} // resize_ui

function render()
{
if (profile == null)
Expand Down Expand Up @@ -97,8 +87,6 @@

$('div.taglist').one("click", function() { clicked_taglist($(this)); });
$('a#profileurl').attr('href', profile.profileurl);
resize_ui();

$('div.main').show();
end_popover();
} // render
Expand Down Expand Up @@ -404,7 +392,6 @@

// kick off AJAX load of user profile when document is ready for action.
$(document).ready(function(){
$(window).resize( function() { resize_ui(); } );
popover('#loadingmessage');
$.ajax({
type: "GET",
Expand Down
1 change: 0 additions & 1 deletion style.css
Expand Up @@ -121,7 +121,6 @@ img.avatar {
display:none;
position:fixed;
_position:absolute; /* hack for internet explorer 6*/
width:408px;
background:#FF0000;
color:#FFFFFF;
border:2px solid #cecece;
Expand Down

0 comments on commit d8f0907

Please sign in to comment.