mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Changed top:focus-search shortcut
This commit is contained in:
@@ -281,8 +281,8 @@ class NoteList extends React.Component {
|
||||
ee.emit('detail:focus')
|
||||
}
|
||||
|
||||
// F or S key
|
||||
if (e.keyCode === 70 || e.keyCode === 83) {
|
||||
// L or S key
|
||||
if (e.keyCode === 76 || e.keyCode === 83) {
|
||||
e.preventDefault()
|
||||
ee.emit('top:focus-search')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user