Skip to content

Commit 30207c5

Browse files
authored
Merge pull request rails#38542 from rmacklin/minor-fix-in-javascript-guide
Avoid implying that `#results` selector will only match a `div` element in the Working with JavaScript guide
2 parents 8dca516 + edbb09e commit 30207c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/working_with_javascript_in_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fetch("/test")
4848
});
4949
```
5050

51-
This code fetches data from "/test", and then appends the result to the `div`
51+
This code fetches data from "/test", and then appends the result to the element
5252
with an id of `results`.
5353

5454
Rails provides quite a bit of built-in support for building web pages with this

0 commit comments

Comments
 (0)