From b6ebb816e47a02137f547d6bdf5ac09c61faf06a Mon Sep 17 00:00:00 2001 From: Findeton Date: Wed, 20 Sep 2017 12:42:25 +0200 Subject: [PATCH] set url for social share links to election/id/public/home --- avBooth/success-screen-directive/success-screen-directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avBooth/success-screen-directive/success-screen-directive.js b/avBooth/success-screen-directive/success-screen-directive.js index 0ddd5611..bd4aa3d5 100644 --- a/avBooth/success-screen-directive/success-screen-directive.js +++ b/avBooth/success-screen-directive/success-screen-directive.js @@ -44,7 +44,7 @@ angular.module('avBooth') var message = p.social_message; message = message.replace( '__URL__', - window.location.protocol + '//' + window.location.host + '/election/' + scope.election.id + '/public/login' + window.location.protocol + '//' + window.location.host + '/election/' + scope.election.id + '/public/home' ); if('Facebook' === p.network) {