dont do IS if there is a search term

This commit is contained in:
barisusakli
2016-10-25 12:40:59 +03:00
parent 2463e85c0d
commit b16671caa5

View File

@@ -35,7 +35,7 @@ define('forum/tags', ['forum/infinitescroll'], function (infinitescroll) {
};
Tags.loadMoreTags = function (direction) {
if(direction < 0 || !$('.tag-list').length) {
if (direction < 0 || !$('.tag-list').length || $('#tag-search').val()) {
return;
}