Explorar o código

There's no longer a dropdown to set the status

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
39e427bca9
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      src/converse-profile.js

+ 0 - 7
src/converse-profile.js

@@ -100,7 +100,6 @@
                 events: {
                     "click a.show-profile": "showProfileModal",
                     "click a.change-status": "showStatusChangeModal",
-                    "click .dropdown dd ul li a": "setStatus",
                     "click .logout": "logOut"
                 },
 
@@ -144,12 +143,6 @@
                     }
                 },
 
-                setStatus (ev) {
-                    ev.preventDefault();
-                    const value = ev.target.getAttribute('data-value');
-                    this.model.set('status', value);
-                },
-
                 getPrettyStatus (stat) {
                     if (stat === 'chat') {
                         return __('online');