diff --git a/client/application.js b/client/application.js index 6de51f1..b698809 100644 --- a/client/application.js +++ b/client/application.js @@ -154,6 +154,7 @@ $('#forgetDialog').on('show.bs.modal', function() { $.getJSON('/node/getKeywords', function(keywords) { $('#forgetKeyword').prop('disabled', keywords.length === 0); + $('#keywordToForget').empty(); for (var i = 0, count = keywords.length; i < count; ++i) { $('#keywordToForget').append($('', { value: keywords[i],