diff --git a/app/app.js b/app/app.js index a025ff5..4d231b5 100644 --- a/app/app.js +++ b/app/app.js @@ -7,6 +7,7 @@ document.getElementById("help-btn").onclick = function () { document.getElementById('foo').focus(); var clipboard = new Clipboard('#copy-btn',{ text: function(trigger) { + $('body').chardinJs('stop'); var elements = document.getElementById('foo').value.split(':'); return PasswordGenerator.make_password(elements[0], elements[1]); } diff --git a/public/index.html b/public/index.html index 6536a32..4a3e153 100644 --- a/public/index.html +++ b/public/index.html @@ -20,11 +20,15 @@