chore: 清理冗余代码

This commit is contained in:
ZiuChen 2022-09-13 19:31:43 +08:00
parent 9c3114828f
commit f0f273e058

View File

@ -216,7 +216,6 @@ db.init()
const remove = (item) => db.removeItemViaId(item.id)
const select = () => document.querySelector('.clip-search input').select()
const focus = (isBlur = false) => {
return document.querySelector('.clip-search').style.display !== 'none'
? isBlur
@ -258,7 +257,5 @@ window.createFile = createFile
window.openFile = utools.shellOpenPath
window.openFileFolder = utools.shellShowItemInFolder
window.getIcon = utools.getFileIcon
window.showNotify = utools.showNotification
window.fetchToken = utools.fetchUserServerTemporaryToken
window.focus = focus
window.toTop = toTop