2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 19:20:55 +00:00

Change "star" icon to "bullhorn" icon

This commit is contained in:
Oliver
2021-11-02 15:07:20 +11:00
parent 9b0d8bedb5
commit 4bfdf21107
6 changed files with 8 additions and 19 deletions

View File

@ -398,9 +398,9 @@ function toggleStar(options) {
method: 'PATCH',
success: function(response) {
if (response.starred) {
$(options.button).addClass('icon-yellow');
$(options.button).addClass('icon-green');
} else {
$(options.button).removeClass('icon-yellow');
$(options.button).removeClass('icon-green');
}
}
}