- fixed "current location" selection, fixed #281
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user