mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 22:13:32 -04:00
Removes okay button, hides modal upon generation
This commit is contained in:
parent
a76a79bb9d
commit
d6928eb1c4
2 changed files with 3 additions and 1 deletions
app
|
@ -11,4 +11,5 @@ block modal-body-content
|
|||
span(data-i18n="ladder.small") Small
|
||||
div.preset-name
|
||||
span(data-i18n="ladder.grassy") Grassy
|
||||
//- for model in models
|
||||
//- for model in models
|
||||
block modal-footer
|
||||
|
|
|
@ -91,6 +91,7 @@ module.exports = class TerrainRandomiseModal extends ModalView
|
|||
Backbone.Mediator.publish('randomise:terrain-generated',
|
||||
'thangs': @thangs
|
||||
)
|
||||
@hide()
|
||||
|
||||
randomiseThangs: (presetName, presetSize) ->
|
||||
preset = presets[presetName]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue