aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/ContentView/ShowFullContentButton.jsx
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-12-16 10:04:12 +1300
committerGitHub <noreply@github.com>2016-12-16 10:04:12 +1300
commit6b5673e84911f3e2b1599c22c9b4f482a55b9ef1 (patch)
treea6f54fdb9d9be4d6b061a3b30069b330d9325fd5 /web/src/js/components/ContentView/ShowFullContentButton.jsx
parent78c78ce651478072f3b0a4a7d18f2a8de3147d33 (diff)
parentd854e08653ccee12119266e2cc3f5d6c279341e5 (diff)
downloadmitmproxy-6b5673e84911f3e2b1599c22c9b4f482a55b9ef1.tar.gz
mitmproxy-6b5673e84911f3e2b1599c22c9b4f482a55b9ef1.tar.bz2
mitmproxy-6b5673e84911f3e2b1599c22c9b4f482a55b9ef1.zip
Merge pull request #1845 from mhils/mitmweb-improvements
Mitmweb Improvements
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>
)