Skip to content

Commit

Permalink
Fix click propagation. enso-org#311
Browse files Browse the repository at this point in the history
  • Loading branch information
pmlodawski committed Nov 6, 2017
1 parent 9bfb819 commit b596e30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion luna-studio/atom/lib/luna-welcome-tab.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class LunaWelcomeTab extends View
class: 'luna-welcome-background'
outlet: 'background'
=>
@div class: 'luna-welcome-scroll', outlet: 'fooo', =>
@div class: 'luna-welcome-scroll', outlet: 'welcomePanel', =>

@div class: 'luna-welcome', =>

Expand Down Expand Up @@ -94,6 +94,7 @@ class LunaWelcomeTab extends View
detailedMessage: "Community projects are not supported yet."
buttons:
Ok: -> )
@welcomePanel.on 'click', (e) -> e.stopPropagation()
@searchInput.on 'search', @search
@searchInput.on 'keyup', @search
@background.on 'click', @detach
Expand Down

0 comments on commit b596e30

Please sign in to comment.