Better way of grabbing viewport rows (ignores empty message rows)
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 22 Apr 2010 18:43:22 +0000 (12:43 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 22 Apr 2010 20:36:16 +0000 (14:36 -0600)
imp/js/ViewPort.js

index 79fac7e..94fd269 100644 (file)
@@ -1010,7 +1010,7 @@ var ViewPort = Class.create({
 
     visibleRows: function()
     {
-        return this.opts.content.childElements();
+        return this.opts.content.select('DIV.vpRow');
     },
 
     getMetaData: function(id, view)