diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index a18b271..725cda7 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -6090,8 +6090,10 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
$scope.clicked = true;
// OnPaintCanvasMouseDown(event);
- canvas.addEventListener('mousedown', $scope.OnPaintCanvasMouseDown, false);
- canvas.addEventListener('mouseup', $scope.OnPaintCanvasMouseUp, false);
+
+ var annotationCanvas= document.getElementById('canvas');
+ annotationCanvas.addEventListener('mousedown', $scope.OnPaintCanvasMouseDown, false);
+ annotationCanvas.addEventListener('mouseup', $scope.OnPaintCanvasMouseUp, false);
// alert("doclick");
};