Fixed map path

pull/7/head
Rashid Khan 12 years ago
parent f2d87ad5a4
commit 25344632a3
  1. 2
      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'}},

Loading…
Cancel
Save