diff --git a/js/app/map/map.js b/js/app/map/map.js index 7ab83621..a2850e30 100644 --- a/js/app/map/map.js +++ b/js/app/map/map.js @@ -2339,7 +2339,7 @@ define([ if(system.length === 1){ // scroll to system var tempMapWrapper = tempMapContainer.parents('.' + config.mapWrapperClass); - tempMapWrapper.scrollTo(system); + tempMapWrapper.mCustomScrollbar('scrollTo', system); // select system system.showSystemInfo(map); diff --git a/public/js/v1.1.3/app/map/map.js b/public/js/v1.1.3/app/map/map.js index 7ab83621..a2850e30 100644 --- a/public/js/v1.1.3/app/map/map.js +++ b/public/js/v1.1.3/app/map/map.js @@ -2339,7 +2339,7 @@ define([ if(system.length === 1){ // scroll to system var tempMapWrapper = tempMapContainer.parents('.' + config.mapWrapperClass); - tempMapWrapper.scrollTo(system); + tempMapWrapper.mCustomScrollbar('scrollTo', system); // select system system.showSystemInfo(map);