Merge pull request #2333 from matmair/multiple-admin-btn

allow admin buttons to be assigned by class
This commit is contained in:
Oliver authored and GitHub committed 2021-11-20 08:27:26 +11:00
commit 6a235c9f15
1 file changed
+1 -1
@@ -208,7 +208,7 @@ function inventreeDocReady() {
});
// Callback for "admin view" button
$('#admin-button').click(function() {
$('#admin-button, .admin-button').click(function() {
var url = $(this).attr('url');
location.href = url;