Skip to content
Permalink
Browse files

live values and emoji

  • Loading branch information...
StoneCypher committed Apr 6, 2015
1 parent 848005e commit ad05d582f821024ec1f8e9fc5526d62c61a31ea4
Showing with 3 additions and 3 deletions.
  1. +3 −3 TipCalcPanel.jsx
@@ -28,9 +28,9 @@ var TipCalcPanel = flocks.createClass({
</label>

<div id="howHappy">
<input type="button" value={"25%"} onClick={this.setTotal(1.25)}/>
<input type="button" value={"20%"} onClick={this.setTotal(1.20)}/>
<input type="button" value={"15%"} onClick={this.setTotal(1.15)}/>
<input type="button" value={"😁 25% = $" + this.fmt(0.25)} onClick={this.setTotal(1.25)}/>
<input type="button" value={"😑 20% = $" + this.fmt(0.20)} onClick={this.setTotal(1.20)}/>
<input type="button" value={"😦 15% = $" + this.fmt(0.15)} onClick={this.setTotal(1.15)}/>
</div>

<div id="result">

0 comments on commit ad05d58

Please sign in to comment.
You can’t perform that action at this time.