diff --git a/app/js/tl/src.js b/app/js/tl/src.js index 7e8f2c5f..4e464bfb 100644 --- a/app/js/tl/src.js +++ b/app/js/tl/src.js @@ -37,6 +37,7 @@ function src(mode, offset) { var acct_id = $('#src-acct-sel').val() if (acct_id == 'tootsearch') { tsAdd(q) + $('#src-contents').html('') return false } localStorage.setItem('last-use', acct_id) @@ -361,16 +362,12 @@ async function trend() { console.log(linkTrends) let links = '' for (const link of linkTrends) { - links = links + `${link.url}
` + cardHtml(link, acct_id, '') + `
` + links = links + `${link.url}
` + cardHtml(link, acct_id, '') + `
` } $('#src-contents').append(``) } catch { } - - - - } function srcBox(mode) { if (mode == 'open') {