From ceef09f36b4d9011e2a89fd8b8e7fdff51500aa6 Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Sun, 8 Mar 2015 15:39:40 +0000 Subject: [PATCH] Small ZeroClipboard corrections --- footer.php | 2 +- public/style.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/footer.php b/footer.php index 52441c2..c033835 100644 --- a/footer.php +++ b/footer.php @@ -24,7 +24,7 @@ var clipboardClient = new ZeroClipboard( document.getElementsByClassName("copy-button") ); - var copied = ""; + var copied = ""; clipboardClient.on( 'aftercopy', function(event) { event.target.innerHTML = copied; diff --git a/public/style.css b/public/style.css index 82f7fa6..6152ba3 100644 --- a/public/style.css +++ b/public/style.css @@ -199,6 +199,10 @@ input[type=submit] { margin-top: 2px; } +.copy-button:focus { + outline: none; +} + .social-button { display: inline-block; border-color: #F0F0F0;