aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2021-09-12 11:49:30 -0400
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2021-09-12 11:49:30 -0400
commitc23f6604e96e9411b4a4218cdb10a4cc93065568 (patch)
tree02eb5ea9741b3c5bc402609b6bc9f11840269e48
parent99900d41d57f7fb7fe96ebdae47bb3ec5265a2bd (diff)
Update DocumentButtonBar.tsx
-rw-r--r--src/client/views/DocumentButtonBar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx
index b786b75bd..e75693d0e 100644
--- a/src/client/views/DocumentButtonBar.tsx
+++ b/src/client/views/DocumentButtonBar.tsx
@@ -200,7 +200,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV
get pinButton() {
const pin = () => {
// undoBatch(e => this.props.views().map(view => view && TabDocView.PinDoc(view.props.Document, { setPosition: e.shiftKey ? true : undefined })))
- undoBatch(e => this.props.views().map(view => view && this.pinWithView(view.props.Document))
+ undoBatch(e => this.props.views().map(view => view && this.pinWithView(view.props.Document)))
}
const targetDoc = this.view0?.props.Document;
return !targetDoc ? (null) : <Tooltip title={