From f54419bdee75464fae417545e42e4afa4795ad20 Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com> Date: Tue, 3 Sep 2019 09:09:57 -0400 Subject: [PATCH] chatview: add the missing " char into the file_wrapper division Change-Id: I8d78a89d417fa1bf8edac851403cfb44cb9b8451 --- web/chatview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/chatview.js b/web/chatview.js index 39f8e7f..a1515f6 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>' + -- GitLab