From d1407d6521d08e88e7cd4c71e79ef3477ff0123f Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Mon, 17 Jun 2019 12:50:50 +0300 Subject: [PATCH] [common] fixed 'About' page (#189) --- apps/common/main/lib/view/About.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/common/main/lib/view/About.js b/apps/common/main/lib/view/About.js index 068e6bb3c..4a50978b3 100644 --- a/apps/common/main/lib/view/About.js +++ b/apps/common/main/lib/view/About.js @@ -90,7 +90,7 @@ define([ '', '', '', - '<% print(publisherurl.replace(/https?:\\/{2}/, "")) %>', + '<% print(publisherurl.replace(/https?:\\/{2}/, "").replace(/\\/$/,"")) %>', '', '', '', @@ -143,7 +143,7 @@ define([ '', '', '', - '', + '', '', '', '' @@ -156,7 +156,7 @@ define([ el.html(this.template({ publishername: '{{PUBLISHER_NAME}}', publisheraddr: '{{PUBLISHER_ADDRESS}}', - publisherurl: /^(?:https?:\/{2})?(\S+)/.exec('{{PUBLISHER_URL}}')[1], + publisherurl: '{{PUBLISHER_URL}}', supportemail: '{{SUPPORT_EMAIL}}', phonenum: '{{PUBLISHER_PHONE}}', scope: this