diff --git a/web/chatview.js b/web/chatview.js index 39f8e7facb8524259a0b9eaf6f99d05fd5f0b8a8..a1515f6a331a072cc37ddcc9a0e47672ca302d71 100644 --- a/web/chatview.js +++ b/web/chatview.js @@ -1669,7 +1669,7 @@ function selectFile() { * add file (local file) to message area */ function addFile_path(path, name, size) { - var html = '<div class="file_wrapper" data-path=' + path + '>' + + var html = '<div class="file_wrapper" data-path="' + path + '">' + '<svg class="svg-icon" viewBox="0 0 20 20">' + '<path fill = "none" d = "M17.222,5.041l-4.443-4.414c-0.152-0.151-0.356-0.235-0.571-0.235h-8.86c-0.444,0-0.807,0.361-0.807,0.808v17.602c0,0.448,0.363,0.808,0.807,0.808h13.303c0.448,0,0.808-0.36,0.808-0.808V5.615C17.459,5.399,17.373,5.192,17.222,5.041zM15.843,17.993H4.157V2.007h7.72l3.966,3.942V17.993z" ></path>' + '<path fill="none" d="M5.112,7.3c0,0.446,0.363,0.808,0.808,0.808h8.077c0.445,0,0.808-0.361,0.808-0.808c0-0.447-0.363-0.808-0.808-0.808H5.92C5.475,6.492,5.112,6.853,5.112,7.3z"></path>' +