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}}
<div class='note-attach-grid'>
<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>
{{#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}}
</div>
{{/each}}

View File

@@ -4,7 +4,7 @@
<div class='note-attachts'>
{{#each attachments}}
<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>
{{/each}}
</div>

View File

@@ -7,7 +7,7 @@
<div class='note-attachts'>
{{#each attachments}}
<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>
{{/each}}
</div>
@@ -114,6 +114,6 @@
<h2>
{{loadingMsg}}
</h2>
<img class="loadingimport" src="{{loadingIcon}}"/>
<img class="loadingimport" src="{{loadingIcon}}" />
</div>
{{/if}}