chore: Clarify usage of window fields in UIWindowColorPicker.js

/puter/src/UI/UIWindowColorPicker.js
  26:12  error  'isString' is not defined  no-undef
This commit is contained in:
Sam Atkins
2024-05-01 16:32:10 +01:00
parent ff28d2919b
commit 3de32c2acc

View File

@@ -23,7 +23,7 @@ async function UIWindowColorPicker(options){
// set sensible defaults
if(arguments.length > 0){
// if first argument is a string, then assume it is the default color
if(isString(arguments[0])){
if(window.isString(arguments[0])){
options = {};
options.default = arguments[0];
}