From 2dbeae701f8686f0f14aeca2d1968adde086677e Mon Sep 17 00:00:00 2001 From: BinkaDroid <39274494+BinkaDroid@users.noreply.github.com> Date: Thu, 11 Apr 2019 21:37:58 +0200 Subject: [PATCH] fixing error "json not defined" in frio when trying to attach video-link to post --- view/js/linkPreview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/js/linkPreview.js b/view/js/linkPreview.js index f0a5d741a..be5cdd0a9 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); };