Refix alert()
This commit is contained in:
parent
9f6541228d
commit
116d61185a
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue