Skip to content

Commit

Permalink
forwarding click events from overlay to world
Browse files Browse the repository at this point in the history
  • Loading branch information
coen-hyde committed Aug 28, 2011
1 parent 350819c commit d87822f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/layout.jade
Expand Up @@ -30,6 +30,10 @@ head(data-template-set='html5-reset')
var App = require('./app').App
$(function() {
var app = new App()

$('#overlay').click(function(event) {
$('#world').trigger('click', event);
});
})
body
!=partial('header', {object: this, as: 'global'})
Expand Down

0 comments on commit d87822f

Please sign in to comment.