summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorKamran Ahmed <kamranahmed.se@gmail.com>2016-03-26 08:19:44 +0400
committerKamran Ahmed <kamranahmed.se@gmail.com>2016-03-26 08:19:44 +0400
commit5a748699b9c7e3ae77dab601caecd21c8dc05bf1 (patch)
treebe4a6fa0578d17088a9c72a25dd35b3eae24723d /assets
parentVersion bump (diff)
downloadgithunt-5a748699b9c7e3ae77dab601caecd21c8dc05bf1.tar.gz
Fix - Change filter doesn't work on tab change
Diffstat (limited to 'assets')
-rw-r--r--assets/js/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 3902403..f29fb42 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -328,6 +328,10 @@ function HubTab() {
// On change of repository filters
$(document).on('change', filterSelector, function () {
+
+ // Increase the request count so that refresh is enabled
+ requestCount++;
+
// Remove the existing fetches repositories
$(repoGroupSelector).remove();
// Persist the filters