Fix slider steps with the unit changes

This commit is contained in:
Girish Ramakrishnan
2022-10-13 21:57:12 +02:00
parent 60f8ab9030
commit 41604feb02
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
<form name="maxEmailSizeChangeForm" role="form" novalidate ng-submit="maxEmailSize.submit()" autocomplete="off">
<div class="form-group">
<label class="control-label">{{ 'emails.changeMailSizeDialog.size' | tr }} <b>{{ maxEmailSize.size | prettyDecimalSize }}</b></label>
<slider ng-model="maxEmailSize.size" tooltip="hide" min="1048576" max="1073741824" step="1048576"></slider>
<slider ng-model="maxEmailSize.size" tooltip="hide" min="1000000" max="1000000000" step="1000000"></slider>
</div>
<input class="ng-hide" type="submit"/>
</form>