aboutsummaryrefslogtreecommitdiffstats
path: root/copy.js
diff options
context:
space:
mode:
Diffstat (limited to 'copy.js')
-rw-r--r--copy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy.js b/copy.js
index 353e1f8..473f5a4 100644
--- a/copy.js
+++ b/copy.js
@@ -298,7 +298,7 @@ var exCopyManager = {
var template = getCopyTemplate(arg) || {value: arg};
if (typeof template.custom == 'function'){
- copyString = template.custom.call(this, template.value);
+ copyString = template.custom.call(this, template.value, replaceVariable(template.value));
} else if (template.custom instanceof Array){
copyString = replaceVariable(template.value).replace(template.custom[0], template.custom[1]);
} else {