aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/views/nodes/AudioBox.tsx2
-rw-r--r--src/client/views/nodes/FieldView.tsx1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 1a935d9b0..8909cb8bf 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -179,6 +179,8 @@ export class AudioBox extends ViewBoxBaseComponent<FieldViewProps, AudioDocument
this._recorder ? this.stopRecording() : this.recordAudioAnnotation();
e.stopPropagation();
}
+ //console.log("record");
+ //this._recorder ? this.stopRecording() : this.recordAudioAnnotation();
}
onPlay = (e: any) => {
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx
index 0bb1401aa..8b5302a72 100644
--- a/src/client/views/nodes/FieldView.tsx
+++ b/src/client/views/nodes/FieldView.tsx
@@ -93,6 +93,7 @@ export class FieldView extends React.Component<FieldViewProps> {
}
// else if (field instanceof AudioField) {
// return <AudioBox {...this.props} />;
+ //}
else if (field instanceof DateField) {
return <p>{field.date.toLocaleString()}</p>;
}