Update packages/node_modules/@node-red/editor-client/src/js/ui/palette.js

pull/3841/head
Stephen McLaughlin 2022-09-03 22:01:54 +01:00 committed by GitHub
parent c038c99f9d
commit e11f17672c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ RED.palette = (function() {
}
const safeType = type.replace(/'/g,"\\'");
function wrapStr(str) {
const wrapStr = function (str) {
if(str.indexOf(' ') >= 0) {
return '"' + str + '"'
}