diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-08-21 00:25:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-21 00:25:47 -0700 |
commit | 62ab2f2fd5188f31e99560dce788ba85c2933a1a (patch) | |
tree | 8ea119430389e7f220e224b912c26203fc4e8d0c /web/src/js/components/ContentView/ShowFullContentButton.jsx | |
parent | cacee3871c6a9f0be7127f3c790e09a1daaf8490 (diff) | |
parent | bbe6556bfc1b6c9cc6e2f24abf3228d101ad0398 (diff) | |
download | mitmproxy-62ab2f2fd5188f31e99560dce788ba85c2933a1a.tar.gz mitmproxy-62ab2f2fd5188f31e99560dce788ba85c2933a1a.tar.bz2 mitmproxy-62ab2f2fd5188f31e99560dce788ba85c2933a1a.zip |
Merge pull request #1490 from mitmproxy/web_write_tests
[web] add tests
Diffstat (limited to 'web/src/js/components/ContentView/ShowFullContentButton.jsx')
-rw-r--r-- | web/src/js/components/ContentView/ShowFullContentButton.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/components/ContentView/ShowFullContentButton.jsx b/web/src/js/components/ContentView/ShowFullContentButton.jsx index 676068e9..cfd96dd8 100644 --- a/web/src/js/components/ContentView/ShowFullContentButton.jsx +++ b/web/src/js/components/ContentView/ShowFullContentButton.jsx @@ -16,7 +16,7 @@ function ShowFullContentButton ( {setShowFullContent, showFullContent, visibleLi return ( !showFullContent && <div> - <Button className="view-all-content-btn btn-xs" onClick={() => setShowFullContent(true)} text="Show full content"/> + <Button className="view-all-content-btn btn-xs" onClick={() => setShowFullContent()} text="Show full content"/> <span className="pull-right"> {visibleLines}/{contentLines} are visible </span> </div> ) |