chore: Clarify usage of window fields in UIPrompt.js

/puter/src/UI/UIPrompt.js
  26:12  error  'isString' is not defined  no-undef
This commit is contained in:
Sam Atkins 2024-05-01 15:36:16 +01:00
parent c5612beff9
commit a5821815bf

View File

@ -23,7 +23,7 @@ function UIPrompt(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];
}