Skip to content

Commit c649222

Browse files
committed
refactor: fix typo in context menu item IDs
fixed #267
1 parent 2e2a6a7 commit c649222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugin/contextMenu.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export default function (mind: MindElixirInstance, option: any) {
2828
const unfocus = createLi('cm-unfucus', lang.cancelFocus, '')
2929
const up = createLi('cm-up', lang.moveUp, 'PgUp')
3030
const down = createLi('cm-down', lang.moveDown, 'Pgdn')
31-
const link = createLi('cm-down', lang.link, '')
32-
const summary = createLi('cm-down', lang.summary, '')
31+
const link = createLi('cm-link', lang.link, '')
32+
const summary = createLi('cm-summary', lang.summary, '')
3333

3434
const menuUl = document.createElement('ul')
3535
menuUl.className = 'menu-list'

0 commit comments

Comments
 (0)