fhemweb_sortable.js: fix wrong positioning of delete links in Chrome

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2016-04-17 09:36:23 +00:00
parent 20f2709f0b
commit 0963705ee6

View File

@ -128,7 +128,7 @@ function
FW_sortableUpdateLinks()
{
$("ul.sortable-dest li.sortable-item").each(function () {
$(this).html(($(this).index() + 1)+'. '+$(this).attr("value")+($(this).attr("deletable") == "false" ? '' : '<span class="sort-item-delete-link"><a href="#" class="sort-item-delete"><span class="ui-icon ui-icon-closethick" style="display:table-cell;"></span></a></span>'));
$(this).html(($(this).index() + 1)+'. '+$(this).attr("value")+($(this).attr("deletable") == "false" ? '' : '<span class="sort-item-delete-link"><a href="#" class="sort-item-delete"><span class="ui-icon ui-icon-closethick" style="display:table-cell; vertical-align:bottom;"></span></a></span>'));
});
}