From: BinkaDroid <39274494+BinkaDroid@users.noreply.github.com> Date: Thu, 11 Apr 2019 19:37:58 +0000 (+0200) Subject: fixing error "json not defined" in frio X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2dbeae701f8686f0f14aeca2d1968adde086677e;p=friendica.git fixing error "json not defined" in frio when trying to attach video-link to post --- diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index f0a5d741ae..be5cdd0a94 100644 --- a/view/js/linkPreview.js +++ b/view/js/linkPreview.js @@ -232,7 +232,7 @@ if (!isExtern) { return; } - var bbcode = '\n[video]' + json.url + '[/video]\n'; + var bbcode = '\n[video]' + data.url + '[/video]\n'; addeditortext(bbcode); };