From a5821815bf4b03cd26bfcc9d11e38c1e96d8ecb3 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 1 May 2024 15:36:16 +0100 Subject: [PATCH] chore: Clarify usage of window fields in UIPrompt.js /puter/src/UI/UIPrompt.js 26:12 error 'isString' is not defined no-undef --- src/UI/UIPrompt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/UIPrompt.js b/src/UI/UIPrompt.js index 7d48f72c..56b8f4ea 100644 --- a/src/UI/UIPrompt.js +++ b/src/UI/UIPrompt.js @@ -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]; }