#77 console issue fixed

This commit is contained in:
Agriya Dev5
2021-02-24 13:35:50 +05:30
parent 82ed16c983
commit e9a4326c89

View File

@@ -887,6 +887,7 @@ class Editor extends EditorStartup {
*/
setupFlyouts (holders) {
const allHolders = {};
const currentObj = this;
$.each(holders, function (holdSel, btnOpts) {
if (!allHolders[holdSel]) {
allHolders[holdSel] = [];
@@ -907,7 +908,7 @@ class Editor extends EditorStartup {
});
// 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; }