changeset 76:16a18e3a1098

Another visual bugfix.
author Atul Varma <varmaa@toolness.com>
date Thu, 30 Apr 2009 16:29:36 -0700
parents fb25fead3374
children 1c99c08d2a54
files media/js/openwebchat.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/media/js/openwebchat.js	Thu Apr 30 16:27:06 2009 -0700
+++ b/media/js/openwebchat.js	Thu Apr 30 16:29:36 2009 -0700
@@ -209,8 +209,10 @@
             animatingMessages -= 1;
             window.scrollTo(0, $('#bottom').position().top);
           });
-      } else
+      } else {
         block.show();
+        window.scrollTo(0, $('#bottom').position().top);
+      }
     }
 
     var currStoredMessage = 0;