[Phpfreechat-svn] SF.net SVN: phpfreechat: [632] trunk/themes/default/templates/pfcgui.js.tpl.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-06-28 13:18:41
|
Revision: 632 Author: kerphi Date: 2006-06-28 06:18:35 -0700 (Wed, 28 Jun 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=632&view=rev Log Message: ----------- fix a javascript warning Modified Paths: -------------- trunk/themes/default/templates/pfcgui.js.tpl.php Modified: trunk/themes/default/templates/pfcgui.js.tpl.php =================================================================== --- trunk/themes/default/templates/pfcgui.js.tpl.php 2006-06-27 20:11:04 UTC (rev 631) +++ trunk/themes/default/templates/pfcgui.js.tpl.php 2006-06-28 13:18:35 UTC (rev 632) @@ -81,7 +81,8 @@ content.scrollTop = this.scrollpos[tabid]; // scroll the new posted message - if (this.elttoscroll[tabid].length > 0) + if (this.elttoscroll[tabid] && + this.elttoscroll[tabid].length > 0) { // on by one for (var i=0; i<this.elttoscroll[tabid].length; i++) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |