Update addons/default/visiosoft/advs-module/resources/js/new-create.js

Co-Authored-By: Ozcan Durak <info@ozcandurak.com>
This commit is contained in:
spektra2147 2019-09-13 15:55:42 +03:00 committed by GitHub
parent bead0fe594
commit 143c4b77ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ $(document).on('ajaxComplete ready shown.bs.tab', function () {
let icons = {}; let icons = {};
$.each(buttons, function (k, v) { $.each([buttons, plugins], function (k, v) {
if (v.icon) { if (v.icon) {
icons[v.button ? v.button : k] = '<i class="' + v.icon + '"></i>'; icons[v.button ? v.button : k] = '<i class="' + v.icon + '"></i>';
} }