]> git.mxchange.org Git - friendica.git/commitdiff
fixing error "json not defined" in frio
authorBinkaDroid <39274494+BinkaDroid@users.noreply.github.com>
Thu, 11 Apr 2019 19:37:58 +0000 (21:37 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2019 19:37:58 +0000 (21:37 +0200)
when trying to attach video-link to post

view/js/linkPreview.js

index f0a5d741aeac1944d5a06961b9cda22ae96167cc..be5cdd0a940bf4cbcfa4cad6aaf2b7199bf7babc 100644 (file)
                        if (!isExtern) {
                                return;
                        }
-                       var bbcode = '\n[video]' + json.url + '[/video]\n';
+                       var bbcode = '\n[video]' + data.url + '[/video]\n';
                        addeditortext(bbcode);
                };