This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Hide suggestions by default
They will be enabled if the input has focus
closed-social-glitch-2
Thibaut Girka
5 years ago
committed by
ThibG
parent
fddd8251dd
commit
aa1832ac4d
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/flavours/glitch/components/autosuggest_input.js
+1
-1
app/javascript/flavours/glitch/components/autosuggest_textarea.js
+ 1
- 1
app/javascript/flavours/glitch/components/autosuggest_input.js
View File
@ -59,7 +59,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
}
;
state
=
{
suggestionsHidden
:
fals
e
,
suggestionsHidden
:
tru
e
,
focused
:
false
,
selectedSuggestion
:
0
,
lastToken
:
null
,
+ 1
- 1
app/javascript/flavours/glitch/components/autosuggest_textarea.js
View File
@ -55,7 +55,7 @@ export default class AutosuggestTextarea extends ImmutablePureComponent {
}
;
state
=
{
suggestionsHidden
:
fals
e
,
suggestionsHidden
:
tru
e
,
focused
:
false
,
selectedSuggestion
:
0
,
lastToken
:
null
,
Write
Preview
Loading…
Cancel
Save