aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/ContentView/ShowFullContentButton.jsx
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-12-11 22:52:17 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-12-12 00:08:29 +0100
commitd854e08653ccee12119266e2cc3f5d6c279341e5 (patch)
treea58d465ea62fdb9665389b39c284d689f2b94e78 /web/src/js/components/ContentView/ShowFullContentButton.jsx
parentd1c7b203f08d4b1e1ee3c7a50762a4f08843feef (diff)
downloadmitmproxy-d854e08653ccee12119266e2cc3f5d6c279341e5.tar.gz
mitmproxy-d854e08653ccee12119266e2cc3f5d6c279341e5.tar.bz2
mitmproxy-d854e08653ccee12119266e2cc3f5d6c279341e5.zip
[web] various fixes
Diffstat (limited to 'web/src/js/components/ContentView/ShowFullContentButton.jsx')
-rw-r--r--web/src/js/components/ContentView/ShowFullContentButton.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/src/js/components/ContentView/ShowFullContentButton.jsx b/web/src/js/components/ContentView/ShowFullContentButton.jsx
index cfd96dd8..fd68991e 100644
--- a/web/src/js/components/ContentView/ShowFullContentButton.jsx
+++ b/web/src/js/components/ContentView/ShowFullContentButton.jsx
@@ -16,7 +16,9 @@ function ShowFullContentButton ( {setShowFullContent, showFullContent, visibleLi
return (
!showFullContent &&
<div>
- <Button className="view-all-content-btn btn-xs" onClick={() => setShowFullContent()} text="Show full content"/>
+ <Button className="view-all-content-btn btn-xs" onClick={() => setShowFullContent()}>
+ Show full content
+ </Button>
<span className="pull-right"> {visibleLines}/{contentLines} are visible &nbsp; </span>
</div>
)