Skip to content

Commit

Permalink
fix bug for input range
Browse files Browse the repository at this point in the history
  • Loading branch information
hjzheng committed Mar 5, 2015
1 parent 87c4ea8 commit 0c9a0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2 class="title">
<input type="radio" ng-model="type" value="cluster"> Cluster
</label>
<label class="radio-inline">
<input type="range" ng-model="rotate" min="0" max="60" ng-disabled="type === 'true'">
<input type="range" ng-model="rotate" min="0" max="60" ng-disabled="type !== 'cluster'">
</label>
<label class="radio-inline">
<span>{{ rotate * 6 }}</span>
Expand Down

0 comments on commit 0c9a0ec

Please sign in to comment.