1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Merge pull request #760 from venticello/patch-14

Фикс аякс фильтра
This commit is contained in:
Maxim Mzhelskiy 2016-05-27 13:13:25 +07:00
commit 8c0a4e7d3f

View file

@ -219,7 +219,7 @@
this.elements.list.hide();
}
if ( this.option( 'i18n.title' ) && this.elements.title.length ) {
if ( this.option( 'i18n.title' ) && this.elements.title.length && response.searchCount) {
this.elements.title.show().text( this._i18n( 'title', response.searchCount ) );
}
@ -233,4 +233,4 @@
window.history.pushState( {}, 'Search', window.location.origin + window.location.pathname + '?' + $.param( this.option( 'params' ) ) );
}
});
})( jQuery );
})( jQuery );