diff --git a/source/packages/com_mokosuiteclient/admin/src/Helper/SupportPinHelper.php b/source/packages/com_mokosuiteclient/admin/src/Helper/SupportPinHelper.php index ab2fa14e..d0f8a2db 100644 --- a/source/packages/com_mokosuiteclient/admin/src/Helper/SupportPinHelper.php +++ b/source/packages/com_mokosuiteclient/admin/src/Helper/SupportPinHelper.php @@ -197,9 +197,8 @@ class SupportPinHelper var textEl = this.querySelector('.mokosuiteclient-pin-text'); navigator.clipboard.writeText(pin).then(function() { if (textEl) { - var orig = textEl.textContent; textEl.textContent = 'Copied!'; - setTimeout(function() { textEl.textContent = orig; }, 30000); + setTimeout(function() { textEl.textContent = pin; }, 30000); } }); }