]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
JavaScript fixes for IE
authorSarven Capadisli <csarven@status.net>
Wed, 23 Sep 2009 17:22:51 +0000 (17:22 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 23 Sep 2009 17:22:51 +0000 (17:22 +0000)
plugins/Realtime/realtimeupdate.js

index da2f9ed3aa30fc7463a2b2eafce3969dbd1c5627..d034deef16792ccc9be448dae6706b5a5561d720 100644 (file)
@@ -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);