mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-07 13:54:05 +08:00
chore: 清理冗余代码
This commit is contained in:
parent
9c3114828f
commit
f0f273e058
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user