Change mouse cursor to pointer on elements user can click on
parent
ff21d4d93b
commit
509ce6c137
|
@ -89,6 +89,7 @@ h1 {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.userAvatar .userAvatarImage {
|
.userAvatar .userAvatarImage {
|
||||||
|
|
|
@ -29,7 +29,7 @@ angular.module('mFileInput', [])
|
||||||
scope: {
|
scope: {
|
||||||
selectedFile: '=mFileInput'
|
selectedFile: '=mFileInput'
|
||||||
},
|
},
|
||||||
|
|
||||||
link: function(scope, element, attrs, ctrl) {
|
link: function(scope, element, attrs, ctrl) {
|
||||||
element.bind("click", function() {
|
element.bind("click", function() {
|
||||||
element.find("input")[0].click();
|
element.find("input")[0].click();
|
||||||
|
@ -38,6 +38,9 @@ angular.module('mFileInput', [])
|
||||||
scope.$apply();
|
scope.$apply();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Change the mouse icon on mouseover on this element
|
||||||
|
element.css("cursor", "pointer");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
Loading…
Reference in New Issue