Rashid Khan 12 anni fa
parent
commit
25344632a3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/app/panels/map/module.js

+ 1 - 1
src/app/panels/map/module.js

@@ -145,7 +145,7 @@ function (angular, app, _, $, config) {
         function render_panel() {
         function render_panel() {
           elem.text('');
           elem.text('');
           $('.jvectormap-zoomin,.jvectormap-zoomout,.jvectormap-label').remove();
           $('.jvectormap-zoomin,.jvectormap-zoomout,.jvectormap-label').remove();
-          require(['./lib/map.'+scope.panel.map], function () {
+          require(['./panels/map/lib/map.'+scope.panel.map], function () {
             elem.vectorMap({
             elem.vectorMap({
               map: scope.panel.map,
               map: scope.panel.map,
               regionStyle: {initial: {fill: '#8c8c8c'}},
               regionStyle: {initial: {fill: '#8c8c8c'}},