From 419e7d68b4909ff83d755d84cd70a95dfd0e35b8 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Sun, 9 Aug 2015 14:10:09 +0200 Subject: [PATCH] OUR-303 "Copy Link" - URL doesn't work in Safari #OUR-303 Fixed --- OurUmbraco.Site/Assets/js/community.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OurUmbraco.Site/Assets/js/community.js b/OurUmbraco.Site/Assets/js/community.js index 660906d8..ea95186d 100644 --- a/OurUmbraco.Site/Assets/js/community.js +++ b/OurUmbraco.Site/Assets/js/community.js @@ -148,7 +148,7 @@ $(function () { e.preventDefault(); if (deepLinking === false) { body.addClass("active copy-prompt"); - getLink.html(window.location.hostname + window.location.pathname + $(this).attr("data-id")); + getLink.html(window.location.protocol + "//" + window.location.hostname + window.location.pathname + $(this).attr("data-id")); getLink.focus().select(); deepLinking = true; } else {