diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-09-17 19:47:05 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-09-17 19:47:05 -0400 |
commit | 3e6f24e4ac4a4b64620d8c9f614f214f8f1c7b94 (patch) | |
tree | a42f9535bd97f11babeb87b8bd6d631244a459c8 /src/client/views/ScriptBox.tsx | |
parent | 1310633790e3db50a31a1cc6d357306d7884a053 (diff) |
cleanup for animating document icon collapse/expand - still need to fix for docs without native dimensions. lots of lint fixes.
Diffstat (limited to 'src/client/views/ScriptBox.tsx')
-rw-r--r-- | src/client/views/ScriptBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/ScriptBox.tsx b/src/client/views/ScriptBox.tsx index 8f06cf770..8ef9f3be6 100644 --- a/src/client/views/ScriptBox.tsx +++ b/src/client/views/ScriptBox.tsx @@ -98,7 +98,7 @@ export class ScriptBox extends React.Component<ScriptBoxProps> { // tslint:disable-next-line: no-unnecessary-callback-wrapper let params: string[] = []; let setParams = (p: string[]) => params.splice(0, params.length, ...p); - let scriptingBox = <ScriptBox initialText={originalText} setParams={setParams} onCancel={() => overlayDisposer()} onSave={(text, onError) => { + let scriptingBox = <ScriptBox initialText={originalText} setParams={setParams} onCancel={overlayDisposer} onSave={(text, onError) => { if (prewrapper) { text = prewrapper + text + (postwrapper ? postwrapper : ""); } |