misc
This commit is contained in:
parent
f79da2b692
commit
9bee8afe95
|
@ -116,8 +116,11 @@ function tsAdd(q) {
|
||||||
parseColumn('add')
|
parseColumn('add')
|
||||||
}
|
}
|
||||||
function tootsearch(tlid, q) {
|
function tootsearch(tlid, q) {
|
||||||
|
if(!q || q=='undefined') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
var start = 'https://tootsearch.chotto.moe/api/v1/search?from=0&sort=created_at%3Adesc&q=' + q
|
var start = 'https://tootsearch.chotto.moe/api/v1/search?from=0&sort=created_at%3Adesc&q=' + q
|
||||||
console.log('Toot srrach at ' + start)
|
console.log('Toot search at ' + start)
|
||||||
$('#notice_' + tlid).text('tootsearch(' + q + ')')
|
$('#notice_' + tlid).text('tootsearch(' + q + ')')
|
||||||
$('#notice_icon_' + tlid).text('search')
|
$('#notice_icon_' + tlid).text('search')
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user