Skip to content

Commit

Permalink
Merge pull request #2 from Riksarkivet/feature/12571-make-copybtn-vis…
Browse files Browse the repository at this point in the history
…ible

#12571 Show copybtn by setting display to inline because .show not wo…
  • Loading branch information
ra-magnus-welander authored Mar 17, 2022
2 parents 8aa4845 + 96179b5 commit 7f8be36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MetadataComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ namespace IIIFComponents {

if (Utils.Device.isTouch()) {
$copyBtn.show();
$copyBtn.css('display', 'inline');
} else {
$elem.on('mouseenter', function() {
$copyBtn.show();
Expand Down

0 comments on commit 7f8be36

Please sign in to comment.