1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

This commit is contained in:
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

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 + '"'
}