space cleanup

This commit is contained in:
Matthias 2021-05-05 20:57:00 +02:00
parent b392586a08
commit 2cfb9c60a3
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ function makeIconButton(icon, cls, pk, title, options={}) {
if (options.disabled) {
extraProps += "disabled='true' ";
}
html += `<button pk='${pk}' id='${id}' class='${classes}' title='${title}' ${extraProps}>`;
html += `<span class='fas ${icon}'></span>`;
html += `</button>`;

View File

@ -287,7 +287,7 @@ $("#so-lines-table").inventreeTable({
html += makeIconButton('fa-hashtag icon-green', 'button-add-by-sn', pk, '{% trans "Allocate serial numbers" %}');
}
html += makeIconButton('fa-sign-in-alt icon-green', 'button-add', pk, '{% trans "Allocate stock" %}');
html += makeIconButton('fa-sign-in-alt icon-green', 'button-add', pk, '{% trans "Allocate stock" %}');
if (part.purchaseable) {
html += makeIconButton('fa-shopping-cart', 'button-buy', row.part, '{% trans "Purchase stock" %}');