diff options
author | Clemens <cle1000.cb@gmail.com> | 2016-08-19 14:12:32 +0200 |
---|---|---|
committer | Clemens <cle1000.cb@gmail.com> | 2016-08-19 14:12:32 +0200 |
commit | bbe6556bfc1b6c9cc6e2f24abf3228d101ad0398 (patch) | |
tree | 8ea119430389e7f220e224b912c26203fc4e8d0c /web/src/js/components | |
parent | cacee3871c6a9f0be7127f3c790e09a1daaf8490 (diff) | |
download | mitmproxy-bbe6556bfc1b6c9cc6e2f24abf3228d101ad0398.tar.gz mitmproxy-bbe6556bfc1b6c9cc6e2f24abf3228d101ad0398.tar.bz2 mitmproxy-bbe6556bfc1b6c9cc6e2f24abf3228d101ad0398.zip |
added tests
Diffstat (limited to 'web/src/js/components')
-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> ) |