aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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={