Permalink
Browse files

Fix crash when using alert() polyfill due to null callback

  • Loading branch information...
nicklockwood committed Aug 10, 2015
1 parent e2d9ddc commit 4d817245f79c10d548abbd541c89ed3ad1ea5cac
@@ -90,7 +90,7 @@ function setUpAlert() {
message: '' + text,
buttons: [{'cancel': 'OK'}],
};
RCTAlertManager.alertWithArgs(alertOpts, null);
RCTAlertManager.alertWithArgs(alertOpts, function () {});
};
}
}

0 comments on commit 4d81724

Please sign in to comment.