From: Sarven Capadisli Date: Wed, 23 Sep 2009 17:22:51 +0000 (+0000) Subject: JavaScript fixes for IE X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=13976f5796f24725280f4ff33901349df4668f50;p=quix0rs-gnu-social.git JavaScript fixes for IE --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index da2f9ed3aa..d034deef16 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -17,7 +17,7 @@ $(document).ready(function() { $('#realtime_timeline').click(function() { 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'); return false; @@ -25,8 +25,8 @@ $(document).ready(function() { } else { window.resizeTo(575, 640); - address = $('address'); - content = $('#content'); + var address = $('address'); + var content = $('#content'); $('body').html(address); $('address').hide(); $('body').append(content);