1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

Revert "repair code bug"

This commit is contained in:
Daniel Pan
2022-01-18 22:04:04 +08:00
committed by GitHub
parent d553fecdbe
commit 54004118c6
3 changed files with 3 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ const { siteRoot, serviceUrl, seafileCollabServer } = window.app.config;
const userInfo = window.app.userInfo;
const userName = userInfo.username;
let dirPath = Utils.getDirName(filePath);
const IMAGE_SUFFIXES = ['png', 'PNG', 'jpg', 'JPG', 'jpeg', 'JPEG', 'gif', 'GIF'];
const IMAGE_SUFFIXES = ['png', 'PNG', 'jpg', 'JPG', 'gif', 'GIF'];
function getImageFileNameWithTimestamp() {
var d = Date.now();