mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-25 06:28:59 -06:00
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:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user