diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js
index eab61510e9fa3e6f060d5dafae9140846a49974c..4acaaaf0270c8d6df9b2807891f75299937af73d 100644
--- a/themes/bootstrap3/js/record.js
+++ b/themes/bootstrap3/js/record.js
@@ -192,7 +192,7 @@ function refreshTagList(loggedin) {
       url: url,
       complete: function(response) {
         if(response.status == 200) {
-          tagList.html(response.responseText);
+          tagList.replaceWith(response.responseText);
           if(loggedin) {
             $('#tagList').addClass('loggedin');
           } else {