diff --git a/lib/capybara/spec/public/test.js b/lib/capybara/spec/public/test.js index f4cdc1e3..5bb34f16 100644 --- a/lib/capybara/spec/public/test.js +++ b/lib/capybara/spec/public/test.js @@ -159,25 +159,25 @@ $(function() { $(this).attr('confirmed', 'false'); } } - }) + }); $('#delayed-page-change').click(function() { setTimeout(function() { window.location.pathname = '/with_html' }, 500) - }) + }); $('#with-key-events').keydown(function(e){ $('#key-events-output').append('keydown:'+e.which+' ') }); $('#disable-on-click').click(function(e){ - var input = this + var input = this; setTimeout(function() { input.disabled = true; }, 500) - }) + }); $('#set-storage').click(function(e){ sessionStorage.setItem('session', 'session_value'); localStorage.setItem('local', 'local value'); - }) + }); $('#multiple-file').change(function(e){ $('body').append($('

File input changed

')); }) diff --git a/lib/capybara/spec/views/frame_child.erb b/lib/capybara/spec/views/frame_child.erb index 99d6b9b2..70fdb654 100644 --- a/lib/capybara/spec/views/frame_child.erb +++ b/lib/capybara/spec/views/frame_child.erb @@ -4,7 +4,7 @@ This is the child frame title