This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 58790409 authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Do not give value to "disabled" attribute

The presence of the "disabled" attribute
in a HTML tag is enough to disable it.
It does not take a value.
parent 8cde0229
2 merge requests!17Initial Merge to Prepare Release 1.0.0,!3Component refactoring
......@@ -93,8 +93,9 @@
</button> -->
<button *ngIf="exercise.type == exerciseType.COLLECTION" type="button" class="btn btn-outline-secondary"
style="display: block; margin-bottom: 5px;" disabled="true"
jhiTranslate="exercise.details.allExercises">
style="display: block; margin-bottom: 5px;"
jhiTranslate="exercise.details.allExercises"
disabled>
</button>
<button type="button" class="btn btn-outline-secondary" style="display: block;"
......@@ -327,10 +328,11 @@
<p style="text-align: left; margin-top: 5px;"><strong jhiTranslate="exercise.export.export"></strong>
</p>
<button *ngIf="exercise.type == exerciseType.COLLECTION" type="button" class="btn btn-outline-secondary"
style="float: left; margin-right: 5px; margin-top: 5px;" disabled="true"
jhiTranslate="exercise.export.latex">
style="float: left; margin-right: 5px; margin-top: 5px;"
jhiTranslate="exercise.export.latex"
disabled>
</button>
<a href="#" class="btn btn-outline-secondary" role="button" aria-pressed="true"
style="float: left; margin-right: 5px; margin-top: 5px;"
jhiTranslate="exercise.export.download"></a>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment