mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Delete modal: Removed preceding slash and bolded file name
This commit is contained in:
parent
60a8eeaa8c
commit
172593fbde
1 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@
|
|||
<h3 id="deleteConfirmModalLabel">Confirm deletion</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>You are about to delete "<span id="deleteFileName"></span>". Are you sure?</p>
|
||||
<p>You are about to delete <strong><span id="deleteFileName"></span></strong>. Are you sure?</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn cancel" data-dismiss="modal" aria-hidden="true">Cancel</button>
|
||||
|
@ -202,7 +202,7 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
function confirmFileDelete(name) {
|
||||
$('#deleteFileName').html(name);
|
||||
$('#deleteFileName').html(name.replace('/',''));
|
||||
$('#deleteConfirmModal').modal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue