Remove extra semicolons

This commit is contained in:
Hadi Nategh 2020-03-05 13:25:52 +01:00
parent b6374c833e
commit 4ae4b4027b
2 changed files with 5 additions and 7 deletions

View File

@ -79,7 +79,6 @@ var et2_toolbar = /** @class */ (function (_super) {
_this._build_menu(et2_toolbar.default_toolbar, true);
return _this;
}
et2_toolbar.prototype.destroy = function () {
// Destroy widget
if (this.div && this.div.data('ui-menu'))
@ -90,7 +89,6 @@ var et2_toolbar = /** @class */ (function (_super) {
this.actionbox.empty().remove();
this.actionlist.empty().remove();
};
;
/**
* Fix function in order to fix toolbar preferences with the new preference structure
* @param {action object} _action
@ -161,7 +159,6 @@ var et2_toolbar = /** @class */ (function (_super) {
}
return totalCount;
};
;
/**
* Go through actions and build buttons for the toolbar
*

View File

@ -99,9 +99,10 @@ class et2_toolbar extends et2_DOMWidget implements et2_IInput
this.preference = {};
this._build_menu(et2_toolbar.default_toolbar, true);
};
}
destroy() {
destroy()
{
// Destroy widget
if(this.div && this.div.data('ui-menu')) this.menu.menu("destroy");
@ -111,7 +112,7 @@ class et2_toolbar extends et2_DOMWidget implements et2_IInput
this.div.empty().remove();
this.actionbox.empty().remove();
this.actionlist.empty().remove();
};
}
/**
* Fix function in order to fix toolbar preferences with the new preference structure
@ -197,7 +198,7 @@ class et2_toolbar extends et2_DOMWidget implements et2_IInput
}
}
return totalCount;
};
}
/**
* Go through actions and build buttons for the toolbar