Fix the post menu -> filter not being applied instantly in the setting textarea.
This commit is contained in:
parent
3e7240dd79
commit
1be56f8f05
@ -1101,16 +1101,16 @@ Filter =
|
|||||||
re
|
re
|
||||||
$.set type, save
|
$.set type, save
|
||||||
|
|
||||||
# Open the settings and display & focus the relevant filter textarea.
|
# Open the settings and display & focus the relevant filter textarea.
|
||||||
Settings.open 'Filter'
|
Settings.open 'Filter'
|
||||||
section = $ '.section-container'
|
section = $ '.section-container'
|
||||||
select = $ 'select[name=filter]', section
|
select = $ 'select[name=filter]', section
|
||||||
select.value = type
|
select.value = type
|
||||||
Settings.selectFilter.call select
|
Settings.selectFilter.call select
|
||||||
ta = $ 'textarea', section
|
ta = $ 'textarea', section
|
||||||
tl = ta.textLength
|
tl = ta.textLength
|
||||||
ta.setSelectionRange tl, tl
|
ta.setSelectionRange tl, tl
|
||||||
ta.focus()
|
ta.focus()
|
||||||
|
|
||||||
ThreadHiding =
|
ThreadHiding =
|
||||||
init: ->
|
init: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user