diff --git a/assets/js/_src/_commons/copy-link.js b/assets/js/_src/_commons/copy-link.js
index ffe3e5d..24cc8dc 100644
--- a/assets/js/_src/_commons/copy-link.js
+++ b/assets/js/_src/_commons/copy-link.js
@@ -6,8 +6,9 @@
* MIT License
*/
-function copyLink() {
- var url = window.location.href;
+function copyLink(url) {
+ if (!url || 0 === url.length)
+ url = window.location.href;
var $temp = $("");
$("body").append($temp);
diff --git a/assets/js/dist/_commons/copy-link.min.js b/assets/js/dist/_commons/copy-link.min.js
index 976cb85..636dc92 100644
--- a/assets/js/dist/_commons/copy-link.min.js
+++ b/assets/js/dist/_commons/copy-link.min.js
@@ -1 +1 @@
-function copyLink(){var a=window.location.href;var b=$("");$("body").append(b);b.val(a).select();document.execCommand("copy");b.remove();alert("Link copied successfully!")};
\ No newline at end of file
+function copyLink(a){if(!a||0===a.length){a=window.location.href}var b=$("");$("body").append(b);b.val(a).select();document.execCommand("copy");b.remove();alert("Link copied successfully!")};
\ No newline at end of file