Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 509ce6c

Browse files
author
Emmanuel ROHEE
committed
Change mouse cursor to pointer on elements user can click on
1 parent ff21d4d commit 509ce6c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

webclient/app.css

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ h1 {
8989
height: 100px;
9090
position: relative;
9191
background-color: #000;
92+
cursor: pointer;
9293
}
9394

9495
.userAvatar .userAvatarImage {

webclient/components/fileInput/file-input-directive.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ angular.module('mFileInput', [])
2929
scope: {
3030
selectedFile: '=mFileInput'
3131
},
32-
32+
3333
link: function(scope, element, attrs, ctrl) {
3434
element.bind("click", function() {
3535
element.find("input")[0].click();
@@ -38,6 +38,9 @@ angular.module('mFileInput', [])
3838
scope.$apply();
3939
});
4040
});
41+
42+
// Change the mouse icon on mouseover on this element
43+
element.css("cursor", "pointer");
4144
}
4245
};
4346
});

0 commit comments

Comments
 (0)