Skip to content
Snippets Groups Projects
Unverified Commit 88c96dc1 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Merge remote-tracking branch 'origin/develop' into importers-check-file-type-using-signature

parents 0e42051c 2f60510e
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ class CachedCollection {
useSync = true,
useCache = true,
debug = true,
version = 4,
version = 5,
maxCacheTime = 60*60*24*30
}) {
this.collection = collection || new Meteor.Collection(null);
......
......@@ -36,6 +36,9 @@ Template.oembedUrlWidget.helpers
url = decodedOgImage or this.meta.twitterImage
if not url?
return
if url.indexOf('//') is 0
url = "#{this.parsedUrl.protocol}#{url}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment