diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 4286219..052ddf8 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1465,7 +1465,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.isLayerChange = false; } - if (evt.ctrlKey || evt.metaKey) { + if (evt.ctrlKey) { $rootScope.multiAnnotationIsON = true; //document.getElementById("btnZoom").setAttribute('disabled', 'disabled'); @@ -1881,7 +1881,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.isLayerChange = false; } - if (evt.ctrlKey || evt.metaKey) { + if (evt.ctrlKey) { $rootScope.multiAnnotationIsON = true; //$("#btnZoom").addClass('disabled'); @@ -3616,7 +3616,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l // we decide the size of speech bubble //2. - if (event.ctrlKey || event.metaKey) { + if (event.ctrlKey) { console.log('ctrl pressed'); $scope.multiAnnotationIsON = true; //2.1 create unique speech bubbles @@ -3685,7 +3685,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l else { $scope.longest_annotationT1 = $scope.annotationTextArrayT1.reduce(function (a, b) { return a.length > b.length ? a : b; }); $scope.longest_annotationT2 = $scope.annotationTextArrayT2.reduce(function (a, b) { return a.length > b.length ? a : b; }); - if (event.ctrlKey || event.metaKey) { + if (event.ctrlKey) { $scope.j = $scope.j + 1; var sub_id_annotation = "black_annotation" + $scope.j; var pointClicked_annotation = parseInt(x) + parseInt(y);