Card Details, show card link in mobile view

This commit is contained in:
Martin Filser 2021-10-21 23:54:30 +02:00
parent 876d78eec4
commit ce30c7e1b7
3 changed files with 7 additions and 12 deletions

View file

@ -323,7 +323,8 @@ BlazeComponent.extendComponent({
'click .js-close-card-details'() {
Utils.goBoardId(this.data().boardId);
},
'click .js-copy-link'() {
'click .js-copy-link'(event) {
event.preventDefault();
const StringToCopyElement = document.getElementById('cardURL_copy');
StringToCopyElement.value =
window.location.origin + window.location.pathname;