Commit b8a99f8ec00c289c663a0ef364adf44c2997af61

Authored by Larissa Reis
1 parent ca27dc04

[search-improvements] Makes replacement for .live() closer to its behavior

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
public/javascripts/search.js
1 1 (function($) {
2 2 // Pagination.
3   - $('#search-content .pagination').on('click', 'a', function () {
  3 + $('#search-content').on('click', '.pagination a', function () {
4 4 $.ajax({
5 5 url: this.href,
6 6 beforeSend: function(){$('#search-content').addClass('fetching')},
... ...