Skip to content

Commit

Permalink
disable showing barcode right of ao title
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Mar 21, 2023
1 parent 29c6eb8 commit 8c8f26e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/assets/getty_barcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
const bbut = '<a id="getty-barcode-button" class="btn btn-sm btn-default" href="' + url + '">Barcode</a>';
$('.record-toolbar > .btn-toolbar > .btn-group').prepend(bbut);

const bimg = '<div class="pull-right"><a href="' + url + '" title="Click to download"><img id="getty-barcode-image" style="height:50px;" src="' + url + '"/></a></div>';
$('.record-pane').prepend(bimg);
// show the barcode in the title area. disable for now. not sure if it's required
// const bimg = '<div class="pull-right"><a href="' + url + '" title="Click to download"><img id="getty-barcode-image" style="height:50px;" src="' + url + '"/></a></div>';
// $('.record-pane').prepend(bimg);
}
});
}(window));
Expand Down

0 comments on commit 8c8f26e

Please sign in to comment.