mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
add event.preventDefault() (#12564)
This commit is contained in:
@@ -70,6 +70,7 @@ export class PlaceholderCellComponent extends CellView implements OnInit, OnChan
|
|||||||
|
|
||||||
public addCell(cellType: string, event?: Event): void {
|
public addCell(cellType: string, event?: Event): void {
|
||||||
if (event) {
|
if (event) {
|
||||||
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
let type: CellType = <CellType>cellType;
|
let type: CellType = <CellType>cellType;
|
||||||
|
|||||||
Reference in New Issue
Block a user