diff --git a/src/main/web/app/Ui.js b/src/main/web/app/Ui.js index 83b9b1c..b51a481 100644 --- a/src/main/web/app/Ui.js +++ b/src/main/web/app/Ui.js @@ -27,7 +27,7 @@ export default class Ui { on: "click", target: Ui.urlType }); - Ui.ontologyText.click(() => Ui.ontologyText.select()); + new Clipboard("#copy-ontology-to-clipboard-button"); } static displayFormats(formats) { diff --git a/src/main/web/app/assets/index.html b/src/main/web/app/assets/index.html index b11e708..888e101 100644 --- a/src/main/web/app/assets/index.html +++ b/src/main/web/app/assets/index.html @@ -90,12 +90,18 @@