From 4bf81bcfac2d8e04e4a4540ce9ee2cc6e9282a9e Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Tue, 9 Aug 2016 16:48:55 +0200 Subject: [PATCH] - fixed "current location" selection, fixed #281 --- js/app/map/map.js | 2 +- public/js/v1.1.3/app/map/map.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);