mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix undefined reference loading on mobile
This commit is contained in:
parent
d2a8823808
commit
2601cc898c
@ -224,11 +224,11 @@ RED.menu = (function() {
|
|||||||
if (!alreadySet && opt.onselect) {
|
if (!alreadySet && opt.onselect) {
|
||||||
triggerAction(opt.id,state);
|
triggerAction(opt.id,state);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (!opt.local && !alreadySet) {
|
if (!opt.local && !alreadySet) {
|
||||||
RED.settings.set(opt.setting||("menu-"+opt.id), state);
|
RED.settings.set(opt.setting||("menu-"+opt.id), state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function toggleSelected(id) {
|
function toggleSelected(id) {
|
||||||
setSelected(id,!isSelected(id));
|
setSelected(id,!isSelected(id));
|
||||||
|
Loading…
Reference in New Issue
Block a user