- fixed "current location" selection, fixed #281

This commit is contained in:
Exodus4D
2016-08-09 16:48:55 +02:00
parent e23bb6790b
commit 4bf81bcfac
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);