From c1c369d3ce524b8f1e81feb17db691a1ee978779 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 1 Dec 2015 03:09:11 +0300 Subject: [PATCH] some cleanup... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index b7c4445f..dda2abb5 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -1425,7 +1425,7 @@ var BrowserPrototype = { .last() }, // 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. // XXX this will not count the elements at the top if they are // disabled... @@ -1450,6 +1450,8 @@ var BrowserPrototype = { // 2) travel up on top element and down on bottom (curret) // ...is this the natural choice? // XXX merge with .select(..)??? + // XXX still not too happy with this, item sizes will throw this + // off... prevPage: function(){ var t = this.getTopVisibleElem() var cur = this.select('!')