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:
parent
c038c99f9d
commit
e11f17672c
@ -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 + '"'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user