]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Skip unavailable previous element 5826/head
authorfgrandjean <francis.grandjean@ac-orleans-tours.fr>
Thu, 18 Sep 2014 10:02:45 +0000 (12:02 +0200)
committerfgrandjean <francis.grandjean@ac-orleans-tours.fr>
Thu, 18 Sep 2014 10:02:45 +0000 (12:02 +0200)
The same way we skip missing next elements we should skip previous missing ones.

js/foundation/foundation.joyride.js

index c0731b051cce778c238fdb9193a6a5683007bbff..f3c06d0547768d7359ad37cffdf7e0a2aa94db0f 100644 (file)
         // skip non-existant targets
         } else if (this.settings.$li && this.settings.$target.length < 1) {
 
-          this.show();
+          this.show(init, is_prev);
 
         } else {