mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
chore: Clarify usage of window fields in UIAlert.js
/puter/src/UI/UIAlert.js 26:12 error 'isString' is not defined no-undef
This commit is contained in:
parent
c2ef0a9578
commit
63347843cb
@ -23,7 +23,7 @@ function UIAlert(options){
|
||||
// set sensible defaults
|
||||
if(arguments.length > 0){
|
||||
// if first argument is a string, then assume it is the message
|
||||
if(isString(arguments[0])){
|
||||
if(window.isString(arguments[0])){
|
||||
options = {};
|
||||
options.message = arguments[0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user