Skip to content

Commit e84b63c

Browse files
committed
Fix jQuery selector with context param order
`$(selector, parent)` See: http://api.jquery.com/jQuery/#jQuery-selector-context
1 parent 6394ca8 commit e84b63c

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
@@ -1343,7 +1343,7 @@
13431343

13441344
```javascript
13451345
// bad
1346-
$('.sidebar', 'ul').hide();
1346+
$('ul', '.sidebar').hide();
13471347
13481348
// bad
13491349
$('.sidebar').find('ul').hide();

0 commit comments

Comments
 (0)