Small ZeroClipboard corrections
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
var clipboardClient = new ZeroClipboard( document.getElementsByClassName("copy-button") );
|
var clipboardClient = new ZeroClipboard( document.getElementsByClassName("copy-button") );
|
||||||
|
|
||||||
var copied = "<?php yourls_e( 'Copied', 'isq_translation'); ?>";
|
var copied = "<?php yourls_e( 'Copied!', 'isq_translation'); ?>";
|
||||||
|
|
||||||
clipboardClient.on( 'aftercopy', function(event) {
|
clipboardClient.on( 'aftercopy', function(event) {
|
||||||
event.target.innerHTML = copied;
|
event.target.innerHTML = copied;
|
||||||
|
|||||||
@@ -199,6 +199,10 @@ input[type=submit] {
|
|||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.copy-button:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
.social-button {
|
.social-button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border-color: #F0F0F0;
|
border-color: #F0F0F0;
|
||||||
|
|||||||
Reference in New Issue
Block a user