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