mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-16 08:29:56 -05:00
Fixes #641, the list of levels in editor reloads properly upon changing language
This commit is contained in:
parent
893f446b0a
commit
860c3a34d3
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ module.exports = class ThangTypeHomeView extends View
|
||||||
hash = document.location.hash[1..]
|
hash = document.location.hash[1..]
|
||||||
searchInput = @$el.find('#search')
|
searchInput = @$el.find('#search')
|
||||||
searchInput.val(hash) if hash?
|
searchInput.val(hash) if hash?
|
||||||
|
delete @collection?.term
|
||||||
searchInput.trigger('change')
|
searchInput.trigger('change')
|
||||||
searchInput.focus()
|
searchInput.focus()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue