session: compat: increment toolbar() usages (new console item)
This commit is contained in:
parent
ff78df42b6
commit
35374a7c1c
1 changed files with 11 additions and 0 deletions
|
|
@ -239,6 +239,17 @@ var converters = [
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
{
|
||||
version: '1.6.2',
|
||||
widget: (data)=>{
|
||||
|
||||
if (data.script && String(data.script).includes('toolbar(')) {
|
||||
// new "console" submenu in toolbar at index 3
|
||||
data.script = String(data.script).replace('toolbar(4)', 'toolbar(5)').replace('toolbar(3)', 'toolbar(4)')
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue