work around jquery(mobile?) bug.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 6 Dec 2010 23:02:44 +0000 (18:02 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 6 Dec 2010 23:02:44 +0000 (18:02 -0500)
commit63473e54ea6a27b0d7d759cd06ad0ebe9a720e51
treea7a1b347279b064d30afb716f78d070bf558137e
parent199c6722b26352dc6f525b2781afbe06a1b92f1b
work around jquery(mobile?) bug.

elt.parent() returns an empty array when there is no parent
(as would be the case when called on the activePage), use this to
determine when we can't move upwards anymore, and avoid javascript errors.

Also, remove unused variable.
imp/js/mobile.js