lib/ruby_app/elements/pages/default_page.rb in RubyApp-0.0.8 vs lib/ruby_app/elements/pages/default_page.rb in RubyApp-0.0.9
- old
+ new
@@ -13,10 +13,10 @@
def initialize
super
@markdown = RubyApp::Elements::Markdown.new
- @markdown.navigated do |element, event|
+ @markdown.clicked do |element, event|
case event.name
when 'go_test'
RubyApp::Session.pages.push(RubyApp::Elements::Pages::TestPages::DefaultTestPage.new)
event.refresh
end