diff --git a/Frontend/_operation.html b/Frontend/_operation.html index b24fc96..64adb49 100644 --- a/Frontend/_operation.html +++ b/Frontend/_operation.html @@ -669,7 +669,7 @@ } else if (/\.(xls?x|doc?x|ptt?x|pdf|zip|rar|7zip|txt|odt|xml|rtf|ods|odp|pps?x)$/i.test(v.ori_file_name)) { icons = null - if (extName == "xlsx" || extName == xls) + if (extName == "xlsx" || extName == "xls") icons = "fas fa-file-excel"; else if (extName == "pdf" || extName == "ods") icons = "fas fa-file-pdf"; @@ -780,7 +780,7 @@ } else if (/\.(xls?x|doc?x|ptt?x|pdf|zip|rar|7zip|txt|odt|xml|rtf|ods|odp|pps?x)$/i.test(v.ori_file_name)) { icons = null - if (extName == "xlsx" || extName == xls) + if (extName == "xlsx" || extName == "xls") icons = "fas fa-file-excel"; else if (extName == "pdf" || extName == "ods") icons = "fas fa-file-pdf"; @@ -1375,7 +1375,7 @@ } else if (/\.(xls?x|doc?x|ptt?x|pdf|zip|rar|7zip|txt|odt|xml|rtf|ods|odp|pps?x)$/i.test(v.ori_file_name)) { icons = null - if (extName == "xlsx" || extName == xls) + if (extName == "xlsx" || extName == "xls") icons = "fas fa-file-excel"; else if (extName == "pdf" || extName == "ods") icons = "fas fa-file-pdf";