don't show code-mirror tooltip icon if no tooltip provided

This commit is contained in:
Keith Grant
2019-03-19 15:22:02 -04:00
parent b6d8f9c6f6
commit ac890b8cda
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,8 @@
class="help-link" class="help-link"
data-original-title="{{ label || vm.strings.get('code_mirror.label.VARIABLES') }}" data-original-title="{{ label || vm.strings.get('code_mirror.label.VARIABLES') }}"
title="{{ label || vm.strings.get('code_mirror.label.VARIABLES') }}" title="{{ label || vm.strings.get('code_mirror.label.VARIABLES') }}"
tabindex="-1"> tabindex="-1"
ng-if="tooltip">
<i class="fa fa-question-circle"></i> <i class="fa fa-question-circle"></i>
</a> </a>
<div class="atCodeMirror-toggleContainer FormToggle-container"> <div class="atCodeMirror-toggleContainer FormToggle-container">

View File

@@ -6,7 +6,6 @@
class="Form-textArea Form-formGroup--fullWidth" class="Form-textArea Form-formGroup--fullWidth"
label="facts" label="facts"
variables="facts" variables="facts"
tooltip=""
disabled="true" disabled="true"
></at-code-mirror> ></at-code-mirror>
</div> </div>