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:
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user