mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Cleaner jQuery selection
This commit is contained in:
parent
0ad8fddff6
commit
e953f7fc60
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ module.exports = class CampaignEditorView extends RootView
|
|||
|
||||
onTreemaSelectionChanged: (e, node) =>
|
||||
return unless node[0]?.data?.original?
|
||||
elem = @$('div').find('[data-level-original="'+node[0].data.original+'"]')
|
||||
elem = @$("div[data-level-original='#{node[0].data.original}']")
|
||||
elem.toggle('pulsate')
|
||||
setTimeout ()->
|
||||
elem.toggle('pulsate')
|
||||
|
|
Loading…
Reference in a new issue