提案 #1291 » search.patch
core/plugin/search/search.rb | ||
---|---|---|
24 | 24 |
end |
25 | 25 | |
26 | 26 |
def refresh_tab |
27 |
if Enumerator.new{|y| Plugin.filtering(:worlds, y) }.any?{|w| w.class.slug == :twitter }
|
|
27 |
if Enumerator.new{|y| Plugin.filtering(:worlds, y) }.any?{|w| search?(w, q: "") }
|
|
28 | 28 |
present_tab |
29 | 29 |
else |
30 | 30 |
absent_tab |