diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/LinkEditor.scss | 15 | ||||
-rw-r--r-- | src/client/views/nodes/LinkEditor.tsx | 10 |
2 files changed, 0 insertions, 25 deletions
diff --git a/src/client/views/nodes/LinkEditor.scss b/src/client/views/nodes/LinkEditor.scss index e1e6b70b4..fc5f2410c 100644 --- a/src/client/views/nodes/LinkEditor.scss +++ b/src/client/views/nodes/LinkEditor.scss @@ -116,10 +116,6 @@ } .linkEditor-typeButton { - // background-color: $dark-color; - // color: white; - // background-color: $light-color; - // background-color: white; background-color: transparent; color: $dark-color; width: 100%; @@ -146,15 +142,4 @@ .linkEditor-button { margin-left: 6px; } - - // .linkEditor-groupOpts { - // width: calc(20% - 3px); - // height: 20px; - // padding: 0; - // font-size: 10px; - - // &:disabled { - // background-color: gray; - // } - // } }
\ No newline at end of file diff --git a/src/client/views/nodes/LinkEditor.tsx b/src/client/views/nodes/LinkEditor.tsx index 02373926e..afde85b69 100644 --- a/src/client/views/nodes/LinkEditor.tsx +++ b/src/client/views/nodes/LinkEditor.tsx @@ -25,11 +25,6 @@ class GroupTypesDropdown extends React.Component<GroupTypesDropdownProps> { @observable private _searchTerm: string = this.props.groupType; @observable private _groupType: string = this.props.groupType; @observable private _isEditing: boolean = false; - // @observable private _ref: React.RefObject<HTMLInputElement> = React.createRef(); - - // @action setSearchTerm = (value: string): void => { this._searchTerm = value; }; - // @action setGroupType = (value: string): void => { this._groupType = value; }; - // @action setIsEditing = (isEditing: boolean): void => { this._isEditing = isEditing; console.log(this._isEditing); }; @action createGroup = (groupType: string): void => { @@ -62,7 +57,6 @@ class GroupTypesDropdown extends React.Component<GroupTypesDropdownProps> { this._searchTerm = this._groupType; this._isEditing = false; - console.log("on key down", this._isEditing); } } @@ -79,14 +73,11 @@ class GroupTypesDropdown extends React.Component<GroupTypesDropdownProps> { } this._searchTerm = this._groupType; this._isEditing = false; - console.log("option clicked", this._isEditing); } @action onButtonPointerDown = (): void => { this._isEditing = true; - console.log("button down", this._isEditing); - //make focus on input } renderOptions = (): JSX.Element[] | JSX.Element => { @@ -113,7 +104,6 @@ class GroupTypesDropdown extends React.Component<GroupTypesDropdownProps> { } render() { - console.log("render", this._isEditing); if (this._isEditing || this._groupType === "") { return ( <div className="linkEditor-dropdown"> |