Add target attribute

This commit is contained in:
bobakoftadeh 2019-02-22 22:08:44 +00:00
parent 4a66dab29f
commit 2c0d201345

View File

@ -83,7 +83,12 @@ export default function addMeeting(meeting) {
setBy: 'temp',
};
newMeeting.welcomeProp.welcomeMsg = newMeeting.welcomeProp.welcomeMsg.replace('event:', '');
newMeeting.welcomeProp.welcomeMsg = newMeeting.welcomeProp.welcomeMsg.replace(
'href="event:',
'href="',
);
newMeeting.welcomeProp.welcomeMsg = newMeeting.welcomeProp.welcomeMsg.replace(/href/g, 'target="_blank" href');
const modifier = {
$set: Object.assign(