From 6bbc36a6372b5367e808d2602b607ec29c2b51e8 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Mon, 4 Sep 2017 19:20:00 +0200 Subject: [PATCH] enable dynamic share texts for share-column on left side --- site/layouts/partials/sharecolumn.html | 6 +++--- site/static/js/creative.js | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/site/layouts/partials/sharecolumn.html b/site/layouts/partials/sharecolumn.html index 814c050..aea6406 100644 --- a/site/layouts/partials/sharecolumn.html +++ b/site/layouts/partials/sharecolumn.html @@ -6,7 +6,7 @@ - + {{ range $data.share }} @@ -16,14 +16,14 @@ - + {{ end }} {{ end }} {{ range $data.share }} {{ if ne .userinput true }} - + {{ end }} {{ end }} diff --git a/site/static/js/creative.js b/site/static/js/creative.js index 86cae1e..b718960 100644 --- a/site/static/js/creative.js +++ b/site/static/js/creative.js @@ -44,3 +44,7 @@ function changeTitle(val){ document.getElementById('sharetitle-spread').value = val; return true; } +function changeTitleSide(val){ + document.getElementById('sharetitle-side').value = val; + return true; +}