Refix alert()

This commit is contained in:
OctoHuman 2016-03-20 03:40:12 -05:00
parent 9f6541228d
commit 116d61185a

View file

@ -161,7 +161,7 @@ window.open = function(url, frameName, features) {
// Use the dialog API to implement alert().
window.alert = function(message, title) {
var buttons;
if (message === undefined) {
if (arguments.length == 0) {
message = '';
}
if (title == null) {