Skip to content
Browse files

MOD: js syntax mistake for previous commit

  • Loading branch information...
1 parent d1e1d08 commit 547fe1ae90f63b1cb624f5d4e8bc24c5f062f2e0 @perfectworks perfectworks committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 js/utils.js
View
8 js/utils.js
@@ -539,11 +539,11 @@ if (!Function.prototype.bind) {
// Initialize
var li_array = [];
var transitionSlides = queryAll('.transitionSlide').forEach(function(el) {
+ var h1 = query('h1', el);
+ if (!h1) {
+ return;
+ }
li_array.push( ['<li><a data-hash="', el.id, '">',
- var h1 = query('h1', el);
- if (!h1) {
- return;
- }
query('h1', el).textContent, '</a></li>'].join('')
);
});

0 comments on commit 547fe1a

Please sign in to comment.
Something went wrong with that request. Please try again.