From 3fe0e8d2ef57880c3bb31d215459942d680c03bf Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 1 Dec 2014 23:17:44 +0100 Subject: [PATCH] Clear navbar input search value on contributor change --- inc/myco.js | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/myco.js b/inc/myco.js index 7be3115..06174f9 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -170,6 +170,7 @@ on_contributor_change=function(e) { } $('#view-group #group-username').html($('#view-group #contributor option:selected').text()); show_contributions(groups[$('#view-group').data('uuid')],$('#view-group #contributor')[0].value); + $('#nav-search-form input')[0].value=''; } _current_displayed_contributions=[];