diff --git a/_scripts/actions.js b/_scripts/actions.js index 5669c38d8..2e9662f4a 100644 --- a/_scripts/actions.js +++ b/_scripts/actions.js @@ -1,5 +1,5 @@ $(document).ready(function() { - var svg_copy = ""; + var svg_copy = ""; var svg_done = ""; var search_fields = []; @@ -813,7 +813,7 @@ $(document).ready(function() { }); }); - $("#install-instructions").on("click", "svg", function() { + $("#install-instructions").on("click", ".svg-copy", function() { try { var text = $(this).parent().parent().children("div:first").children("div:first").text(); navigator.clipboard.writeText(text);