Merge pull request #13837 from austinthiel/fix/target-even-numbered-elements-typo
Fix poor wording for first test check of "Target Even Numbered Elements using jQuery"pull/13847/head
commit
bfc1fc4f56
|
@ -1413,7 +1413,7 @@
|
|||
"</div>"
|
||||
],
|
||||
"tests": [
|
||||
"assert($('.target:even').hasClass('animated') && $('.target:even').hasClass('shake'), 'message: All the <code>target</code> elements that computer considers even should shake.');",
|
||||
"assert($('.target:even').hasClass('animated') && $('.target:even').hasClass('shake'), 'message: All of the <code>target</code> elements that jQuery considers to be even should shake.');",
|
||||
"assert(code.match(/\\:even/g), 'message: You should use the <code>:even</code> function to modify these elements.');",
|
||||
"assert(code.match(/<button class=\"btn btn-default target\" id=\"target3\">/g), 'message: Only use jQuery to add these classes to the element.');"
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue