From 8eab21c2c2d22481a2be7a1831818d6f73661d63 Mon Sep 17 00:00:00 2001 From: jfederico Date: Tue, 18 Oct 2016 16:34:46 -0400 Subject: [PATCH] Fixed issue with new meeting url not updated in copiable text --- app/assets/javascripts/landing.js | 4 ++-- app/views/landing/index.html.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/landing.js b/app/assets/javascripts/landing.js index d441eadd..4aeefe17 100644 --- a/app/assets/javascripts/landing.js +++ b/app/assets/javascripts/landing.js @@ -23,8 +23,8 @@ type : 'GET', success : function(data) { $('#meeting_url').html(data.response.meeting_url); - $('#text_meeting_url a').href(data.response.meeting_url); - $('#text_meeting_url span').html(data.response.meeting_url); + $('#text_meeting_url').attr("href", data.response.meeting_url); + $('#text_meeting_url').text(data.response.meeting_url); }, error : function(xhr, status, error) { }, diff --git a/app/views/landing/index.html.erb b/app/views/landing/index.html.erb index f5765617..261fbf55 100644 --- a/app/views/landing/index.html.erb +++ b/app/views/landing/index.html.erb @@ -36,7 +36,7 @@

Hi Everyone

The meeting will be at this URL

-

<%= @meeting_url %>

+

<%= @meeting_url %>

Please join!