Skip to content

Commit 80dc271

Browse files
committed
Actually fix the click on markdown
1 parent 047d7b3 commit 80dc271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datascience-ui/native-editor/nativeCell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ export class NativeCell extends React.Component<INativeCellProps> {
186186
return true;
187187
}
188188
if (!elem.closest(CssConstants.ImageButtonClass) && !elem.closest(CssConstants.CellOutputWrapperClass)) {
189-
return false;
189+
return true;
190190
}
191-
return true;
191+
return false;
192192
}
193193

194194
private onMouseClick = (ev: React.MouseEvent<HTMLDivElement>) => {

0 commit comments

Comments
 (0)