1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix rack elevation image toggles

This commit is contained in:
Jeremy Stretch
2020-11-10 13:42:48 -05:00
parent b9af6ef841
commit 7a61354d8c
3 changed files with 3 additions and 3 deletions

View File

@@ -8,6 +8,6 @@ $('button.toggle-images').click(function() {
$('.device-image', rack_elevation.contents()).removeClass('hidden');
}
$(this).attr('selected', !selected);
$(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked');
$(this).children('span').toggleClass('mdi-checkbox-marked-circle-outline mdi-checkbox-blank-circle-outline');
return false;
});