Skip to content

Commit

Permalink
reverting pagination. this plugin uses a custom version
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuthay committed Aug 17, 2011
1 parent cff49fa commit 99d22b2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions js/jquery.indextank.pagination.js
Expand Up @@ -31,6 +31,7 @@
// nothing to see here .. go on!
if (totalPages < 2 ) return;

base.$el.append( $("<div/>").css({'float':'left'}).text('More results'));
var ul = $("<ul/>").addClass("pagination");

// first, put selected page
Expand Down Expand Up @@ -75,8 +76,6 @@

}

// fix for zero-size, floating non-clickable list items
ul.append( $("<div/>").css({ clear: "both" }) );

// make pages clickable
$("li", ul).click(function(e){
Expand All @@ -95,8 +94,12 @@
d.searcher.trigger("Indextank.AjaxSearch.runQuery", q);
});


ul.appendTo(base.$el);


// fix for zero-size, floating non-clickable list items
ul.append( $("<div/>").css({ clear: "both" }) );
base.$el.append( $("<div/>").css({ clear: "both" }) );
});
};

Expand Down

0 comments on commit 99d22b2

Please sign in to comment.