some cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2015-12-01 03:09:11 +03:00
parent 837c47ab75
commit c1c369d3ce

View File

@ -1425,7 +1425,7 @@ var BrowserPrototype = {
.last() .last()
}, },
// NOTE: this will not give a number greater than the number of // NOTE: this will not give a number greater than the number of
// elements, thus for lists without scroll, this will allways // elements, thus for lists without scroll, this will always
// return the number of elements. // return the number of elements.
// XXX this will not count the elements at the top if they are // XXX this will not count the elements at the top if they are
// disabled... // disabled...
@ -1450,6 +1450,8 @@ var BrowserPrototype = {
// 2) travel up on top element and down on bottom (curret) // 2) travel up on top element and down on bottom (curret)
// ...is this the natural choice? // ...is this the natural choice?
// XXX merge with .select(..)??? // XXX merge with .select(..)???
// XXX still not too happy with this, item sizes will throw this
// off...
prevPage: function(){ prevPage: function(){
var t = this.getTopVisibleElem() var t = this.getTopVisibleElem()
var cur = this.select('!') var cur = this.select('!')