summaryrefslogtreecommitdiff
path: root/help3xsl/help.js
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r--help3xsl/help.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js
index 75541e6745..48767222e3 100644
--- a/help3xsl/help.js
+++ b/help3xsl/help.js
@@ -106,19 +106,17 @@ for (var i = 0, len = itemcopyable.length; i < len; i++) {
(function() {
var item = itemcopyable[i];
- function changeBorder(item, color, colorToChangeBackTo) {
+ function changeBorder(item, color) {
var saveBorder = item.style.border;
- item.style.border = "solid 5px";
item.style.borderColor = color;
setTimeout(function() {
item.style.border = saveBorder;
- item.style.borderColor = colorToChangeBackTo;
}, 150);
}
item.onclick = function() {
document.execCommand("copy");
- changeBorder(item, "#18A303", "transparent");
+ changeBorder(item, "#18A303");
};
item.addEventListener("copy", function(event) {
event.preventDefault();