Correct formatting

This commit is contained in:
Ealhad 2018-11-12 15:24:12 +01:00
parent c676af242a
commit 633fa729df
4 changed files with 45 additions and 46 deletions

View File

@ -8,7 +8,6 @@ export function getPeertubeVideoURL(video, prefs) {
return `https://${getPeertubeHost(video.account.host, prefs)}/videos/watch/${video.uuid}`
}
export function getPeertubeHost(host, prefs)
{
export function getPeertubeHost(host, prefs) {
return prefs.openInOriginalInstance ? host : prefs.searchInstance;
}