mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00: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:
parent
c5612beff9
commit
a5821815bf
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user