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:
Sam Atkins 2024-05-01 14:43:26 +01:00
parent c2ef0a9578
commit 63347843cb

View File

@ -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];
}