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().
|
// Use the dialog API to implement alert().
|
||||||
window.alert = function(message, title) {
|
window.alert = function(message, title) {
|
||||||
var buttons;
|
var buttons;
|
||||||
if (message === undefined) {
|
if (arguments.length == 0) {
|
||||||
message = '';
|
message = '';
|
||||||
}
|
}
|
||||||
if (title == null) {
|
if (title == null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue