PEP fixes

This commit is contained in:
Matthias 2021-09-05 10:37:14 +02:00
parent c8fb128817
commit dd5a11b921
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -255,12 +255,12 @@ function inventreeLoad(name, defaultValue) {
} }
} }
function loadBrandIcon(elem, name) { function loadBrandIcon(element, name) {
// check if icon exists // check if icon exists
var icon = window.FontAwesome.icon({prefix: 'fab', iconName: name}); var icon = window.FontAwesome.icon({prefix: 'fab', iconName: name});
if (icon) { if (icon) {
// add icon to button // add icon to button
elem.addClass('fab fa-' + name); element.addClass('fab fa-' + name);
} }
} }