diff --git a/uber/templates/attractions_admin/form.html b/uber/templates/attractions_admin/form.html index 7a3bef09c..f6111eb7b 100644 --- a/uber/templates/attractions_admin/form.html +++ b/uber/templates/attractions_admin/form.html @@ -576,6 +576,13 @@ $('a[href="' + anchor + '"]').tab('show'); }); }); + var copyLink = function(e, href) { + navigator.clipboard.writeText(href); + console.log($(e.target)); + setTimeout(function () { + $(e.target).tooltip('hide'); + }, 1000); + } {%- set can_admin_attraction = admin_account.attendee.can_admin_attraction(attraction) -%} @@ -790,10 +797,14 @@