JavaScript fixes for IE

This commit is contained in:
Sarven Capadisli 2009-09-23 17:22:51 +00:00
parent bef4a8b6ba
commit 13976f5796

View File

@ -17,7 +17,7 @@ $(document).ready(function() {
$('#realtime_timeline').click(function() { $('#realtime_timeline').click(function() {
window.open($(this).parent('a').attr('href')+'?realtime=1', window.open($(this).parent('a').attr('href')+'?realtime=1',
$(this).parent('a').attr('title'), $('body').attr('id'),
'toolbar=no,resizable=yes,scrollbars=yes,status=yes'); 'toolbar=no,resizable=yes,scrollbars=yes,status=yes');
return false; return false;
@ -25,8 +25,8 @@ $(document).ready(function() {
} }
else { else {
window.resizeTo(575, 640); window.resizeTo(575, 640);
address = $('address'); var address = $('address');
content = $('#content'); var content = $('#content');
$('body').html(address); $('body').html(address);
$('address').hide(); $('address').hide();
$('body').append(content); $('body').append(content);