Skip to content

Commit eacf093

Browse files
committed
Merge pull request iliakan#240 from Tankerxyz/patch-1
Поправил тернарный оператор.md
2 parents f9ff465 + 149650e commit eacf093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4-ajax/3-ajax-xmlhttprequest/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ xhr.onreadystatechange = function() {
354354
355355
if (this.status != 200) {
356356
// обработать ошибку
357-
alert( 'ошибка: ' + (this.status ? this.statusText || 'запрос не удался') );
357+
alert( 'ошибка: ' + (this.status ? this.statusText : 'запрос не удался') );
358358
return;
359359
}
360360

0 commit comments

Comments
 (0)