Fix: img modal when window is too narrow

This commit is contained in:
cutls
2020-02-11 01:55:40 +09:00
parent 2732161dd2
commit c8786ca00f
6 changed files with 23 additions and 18 deletions

View File

@@ -205,7 +205,7 @@ function escapeCsv(str) {
return str
}
var result
result = str.replace(/\"/g, '""')
result = str.toString().replace(/\"/g, '""')
if (result.indexOf(',') >= 0) {
result = '"' + result + '"'
}