lib/ruby_app/elements/navigation/page_link.js.haml in RubyApp-0.0.43 vs lib/ruby_app/elements/navigation/page_link.js.haml in RubyApp-0.0.44

- old
+ new

@@ -2,9 +2,9 @@ :plain // #{__FILE__} $(document).ready(function() { $('span.link > a.page').click(function(event) { event.preventDefault(); - RubyApp.sendEvent({_class:'RubyApp::Elements::Navigation::PageLink::ClickedEvent', source_id:$(this).parents('span.link').attr('id'), page:$(this).attr('page')}); + RubyApp.queueEvent({_class:'RubyApp::Elements::Navigation::PageLink::ClickedEvent', source_id:$(this).parents('span.link').attr('id'), page:$(this).attr('page')}); }); }); = yield