mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-09-27 05:43:21 +08:00
chore: 清理冗余代码
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user