Skip to content

Commit 14f4690

Browse files
authored
Update README.md
1 parent 9432706 commit 14f4690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Ideally the snippet should be included in the `<head>` before any other `<script
144144

145145
This gem provides Rack middleware to block Capybara while your Rails (or Rack) backend is busy.
146146

147-
Using the middleware is optional, as the [JavaScript snippet](#including-the-javascript-snippet-required) already for AJAX requests on the client. However, using the middleware covers some additional edge cases. For example, the middleware detects requests that were aborted on the frontend, but are still being processed by the backend.
147+
Using the middleware is optional, as the [JavaScript snippet](#including-the-javascript-snippet-required) already waits for asynchronous work on the client. However, using the middleware covers some additional edge cases. For example, the middleware detects requests that were aborted on the frontend, but are still being processed by the backend.
148148

149149
To include the middleware in a Rails application, add the following line to `config/environments/test.rb`:
150150

0 commit comments

Comments
 (0)