Skip to content

Commit 792fbb8

Browse files
author
Pascal Dreissen
committed
Regression in .js need to update ;)
1 parent 7e25433 commit 792fbb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/themes/default/assets/javascripts/ispconfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ var ISPConfig = {
537537
if(addTplId > 0) {
538538
var newVal = tpl_add.split('/');
539539
ISPConfig.new_tpl_add_id += 1;
540-
var delbtn = $('&nbsp;<a href="#"><span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span></a>').attr('class', 'btn btn-danger btn-xs').click(function(e) {
540+
var delbtn = $('<a href="#"><span class="glyphicon glyphicon-remove-circle" aria-hidden="true"></span></a>').attr('class', 'btn btn-danger btn-xs').click(function(e) {
541541
e.preventDefault();
542542
ISPConfig.delAdditionalTemplate($(this).parent().attr('rel'));
543543
});

0 commit comments

Comments
 (0)