diff --git a/public/themes/simpleboot3/friendship/friend_list.html b/public/themes/simpleboot3/friendship/friend_list.html
index 2e17866..51372f8 100644
--- a/public/themes/simpleboot3/friendship/friend_list.html
+++ b/public/themes/simpleboot3/friendship/friend_list.html
@@ -372,14 +372,14 @@
         }
 
         for(var i = 0; i<txts.length;i++){
-            var arr=[];
+
             var t = txts[i];
             t.index = i;
             if(t.index>0){
                 t.setAttribute("readonly", true);
             }
             t.onkeyup=function(){
-
+                var arr=[];
                 var regular = /\s+/g;
                 if(regular.test(this.value)){
                     $(this).focus();