Skip to content

Commit caf1f92

Browse files
nathan-castlehowRokt33r
authored andcommitted
Removed SetTimeout on Markdown Preview Context menu
1 parent f2a02a2 commit caf1f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser/components/MarkdownPreview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export default class MarkdownPreview extends React.Component {
248248
handleContextMenu (event) {
249249
const menu = buildMarkdownPreviewContextMenu(this, event)
250250
if (menu != null) {
251-
setTimeout(() => menu.popup(remote.getCurrentWindow()), 30)
251+
menu.popup(remote.getCurrentWindow())
252252
}
253253
}
254254

0 commit comments

Comments
 (0)