codestyle
This commit is contained in:
parent
fc9360beea
commit
73e1af5626
@ -569,8 +569,7 @@ plugins.factory('userPlugins', function() {
|
|||||||
|
|
||||||
GetEmbedContent( "https://www.tiktok.com/oembed?url=" + url, element);
|
GetEmbedContent( "https://www.tiktok.com/oembed?url=" + url, element);
|
||||||
|
|
||||||
function GetEmbedContent(embedurl, element)
|
function GetEmbedContent(embedurl, element) {
|
||||||
{
|
|
||||||
fetch(embedurl)
|
fetch(embedurl)
|
||||||
.then(function(response) {
|
.then(function(response) {
|
||||||
return response.json();
|
return response.json();
|
||||||
|
Loading…
Reference in New Issue
Block a user