diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index 5ee8feb..e31553d 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -2249,7 +2249,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
else if ((($rootScope.viewOrientationId == '2') || ($rootScope.viewOrientationId == '3')) && ($scope.highlightedBR.length == 5)) {
$scope.doAligneCanvasWithTerm = true;
}
- else if ((($rootScope.viewOrientationId == '5')) && ($scope.highlightedBR.length == 4)) {
+ else if ((($rootScope.viewOrientationId == '5')) && ($scope.highlightedBR.length == 1)) {
$scope.doAligneCanvasWithTerm = true;
}
else if ((($rootScope.viewOrientationId == '6')) && ($scope.highlightedBR.length == 1)) {
@@ -7573,12 +7573,12 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$('#canvasDiv').scrollLeft(newX);
$('#canvasDiv').scrollTop(newY);
-
+ $scope.isLoading = false;
+ $('#spinner').css('visibility', 'hidden');
}
- $scope.isLoading = false;
- $('#spinner').css('visibility', 'hidden');
+
}