Files
zulip/static/js
sahil839 a537ecc587 settings: Fix live update of user-avatar upload widget.
We add disabled prop on buttons only and we add the css for
buttons (and some specific class elements) when disabled as
'cursor: not-allowed' or 'pointer-events: none' which means
the user cannot use these buttons when disabled.

This is not the case for the avatar widget as we use a div
element there and not button and neither those specific
classes which has appropriate styles defined.

We use the avatar image block in two ways - for showing image
and as a clickable target (which is actually a div element)
for uploading, so instead of adding 'disabled' prop we are
hiding (adding display: none) the div such that it is not
visible on hover and also cannot be clicked.
2021-06-30 15:00:51 +05:30
..
2021-04-26 09:27:49 -07:00
2021-05-28 15:44:49 -07:00
2021-06-22 09:09:36 -07:00
2021-06-24 16:19:22 -07:00
2021-05-10 19:26:41 -07:00
2021-05-18 17:33:51 -07:00