mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 08:54:54 +03:00
Change mouse cursor to pointer on elements user can click on
This commit is contained in:
parent
ff21d4d93b
commit
509ce6c137
2 changed files with 5 additions and 1 deletions
|
@ -89,6 +89,7 @@ h1 {
|
|||
height: 100px;
|
||||
position: relative;
|
||||
background-color: #000;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.userAvatar .userAvatarImage {
|
||||
|
|
|
@ -29,7 +29,7 @@ angular.module('mFileInput', [])
|
|||
scope: {
|
||||
selectedFile: '=mFileInput'
|
||||
},
|
||||
|
||||
|
||||
link: function(scope, element, attrs, ctrl) {
|
||||
element.bind("click", function() {
|
||||
element.find("input")[0].click();
|
||||
|
@ -38,6 +38,9 @@ angular.module('mFileInput', [])
|
|||
scope.$apply();
|
||||
});
|
||||
});
|
||||
|
||||
// Change the mouse icon on mouseover on this element
|
||||
element.css("cursor", "pointer");
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Reference in a new issue