hide navigation links on click, to avoid them being clicked before ready
This commit is contained in:
parent
60e9918e42
commit
71cb504ccb
|
@ -61,6 +61,7 @@ function display_results(data) {
|
|||
);
|
||||
$('#results a.nav').click(function() {
|
||||
var this_link = $(this);
|
||||
$('#results a.nav').hide();
|
||||
$.getJSON('search/' + $(this).attr('href'), function(data) {
|
||||
$('#offset').val($(this_link).data('offset'));
|
||||
display_results(data);
|
||||
|
|
Reference in New Issue