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