Don´t self close divs... For those weird things of nextcloud fails in NC22

This commit is contained in:
Matias De lellis
2022-04-28 11:54:45 -03:00
parent c261e7e0fc
commit b106299eab
3 changed files with 5 additions and 5 deletions

View File

@@ -2,10 +2,10 @@
{{#each attachments}} {{#each attachments}}
<div class='note-attach-grid'> <div class='note-attach-grid'>
<a target="_blank" href="{{redirect_url}}"> <a target="_blank" href="{{redirect_url}}">
<div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"/> <div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"></div>
</a> </a>
{{#if ../can_delete}} {{#if ../can_delete}}
<div class="attach-remove icon-delete" title="{{t "quicknotes" "Delete attachment"}}"/> <div class="attach-remove icon-delete" title="{{t "quicknotes" "Delete attachment"}}"></div>
{{/if}} {{/if}}
</div> </div>
{{/each}} {{/each}}

View File

@@ -4,7 +4,7 @@
<div class='note-attachts'> <div class='note-attachts'>
{{#each attachments}} {{#each attachments}}
<div class='note-attach-grid'> <div class='note-attach-grid'>
<div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"/> <div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"></div>
</div> </div>
{{/each}} {{/each}}
</div> </div>

View File

@@ -7,7 +7,7 @@
<div class='note-attachts'> <div class='note-attachts'>
{{#each attachments}} {{#each attachments}}
<div class='note-attach-grid'> <div class='note-attach-grid'>
<div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"/> <div class="attach-preview note-attach" attach-file-id="{{file_id}}" data-background-image="{{preview_url}}"></div>
</div> </div>
{{/each}} {{/each}}
</div> </div>
@@ -114,6 +114,6 @@
<h2> <h2>
{{loadingMsg}} {{loadingMsg}}
</h2> </h2>
<img class="loadingimport" src="{{loadingIcon}}"/> <img class="loadingimport" src="{{loadingIcon}}" />
</div> </div>
{{/if}} {{/if}}