From 32e863d104e608bce7befb16e86a3712acd9a279 Mon Sep 17 00:00:00 2001 From: Pierrick Date: Tue, 8 Dec 2015 02:53:32 +0100 Subject: [PATCH] Fix default cursor with IE Initial is not supported by IE. http://www.w3schools.com/cssref/css_initial.asp --- src/angular-img-cropper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angular-img-cropper.js b/src/angular-img-cropper.js index 8dbb2e6..ca4fb79 100644 --- a/src/angular-img-cropper.js +++ b/src/angular-img-cropper.js @@ -1147,7 +1147,7 @@ angular.module('angular-img-cropper', []).directive("imageCropper", ['$document' didDraw = didDraw || this.drawCornerCursor(this.markers[i], cropTouch.x, cropTouch.y, e); } if (!didDraw) { - imageCropperDataShare.setStyle(this.canvas, 'initial'); + imageCropperDataShare.setStyle(this.canvas, 'auto'); } } if (!didDraw && !cursorDrawn && this.center.touchInBounds(cropTouch.x, cropTouch.y)) {