#77 console issue fixed
parent
82ed16c983
commit
e9a4326c89
|
@ -887,6 +887,7 @@ class Editor extends EditorStartup {
|
||||||
*/
|
*/
|
||||||
setupFlyouts (holders) {
|
setupFlyouts (holders) {
|
||||||
const allHolders = {};
|
const allHolders = {};
|
||||||
|
const currentObj = this;
|
||||||
$.each(holders, function (holdSel, btnOpts) {
|
$.each(holders, function (holdSel, btnOpts) {
|
||||||
if (!allHolders[holdSel]) {
|
if (!allHolders[holdSel]) {
|
||||||
allHolders[holdSel] = [];
|
allHolders[holdSel] = [];
|
||||||
|
@ -907,7 +908,7 @@ class Editor extends EditorStartup {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Remember the function that goes with this ID
|
// Remember the function that goes with this ID
|
||||||
this.flyoutFuncs[opts.sel] = opts.fn;
|
currentObj.flyoutFuncs[opts.sel] = opts.fn;
|
||||||
|
|
||||||
if (opts.isDefault) { def = i; }
|
if (opts.isDefault) { def = i; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue