Use ng-class instead of string interpolation in input.html

This commit is contained in:
Alice Jenkinson 2017-03-19 01:51:15 +13:00
parent 56fbdb4250
commit 0eb01bad51
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<form class="form form-horizontal {{ utils.isMobileUi() ? 'is-mobile-ui' : 'is-desktop-ui' }}" id="inputform" ng-submit="sendMessage()" imgur-drop>
<form class="form form-horizontal" ng-class="utils.isMobileUi() ? 'is-mobile-ui' : 'is-desktop-ui'" id="inputform" ng-submit="sendMessage()" imgur-drop>
<div class="input-group">
<textarea id="{{inputId}}" class="form-control favorite-font" ng-trim="false" rows="1" ng-change="inputChanged()" autocomplete="on" ng-model="command" ng-focus="hideSidebar()">
</textarea>