|
@@ -35,7 +35,7 @@ export const app = (function () {
|
|
|
Konva.showWarnings = false;
|
|
|
headerMenu.bootstrap();
|
|
|
Selector.bootstrap();
|
|
|
- requireAll(require.context("./component-registry/", true, /\.js$/));
|
|
|
+ requireAll(require.context("./component-registry/", true, /\.js$/)); // it calls every app/component-registry/*-component.js
|
|
|
_refreshMenu();
|
|
|
$("body").on("mouseenter", ".li-content", e => $(e.currentTarget).parent().find('.level-1').css("background-color", "#d4d4d4"));
|
|
|
$("body").on("mouseleave", ".li-content", e => $(e.currentTarget).parent().find('.level-1').css("background-color", "transparent"));
|