Only displays metadata if needed

This commit is contained in:
David Cormier 2013-08-06 11:32:28 -04:00
parent c80dc34770
commit 8d183a835c

View file

@ -47,10 +47,8 @@
<span ng-repeat="part in bufferline.message" class="text"> <span ng-repeat="part in bufferline.message" class="text">
{{ part.text }} {{ part.text }}
</span> </span>
<div ng-bind-html-unsafe="bufferline.metadata"></div> <div ng-visible="bufferline.metadata" ng-bind-html-unsafe="bufferline.metadata"></div>
<br>
</div> </div>
<form ng-submit="sendMessage()"> <form ng-submit="sendMessage()">
<input type="text" ng-model="command"></input> <input type="text" ng-model="command"></input>