on line 119 in PusherChatWidget.js, the code reads:
this._messageInputEl.attr('readonly');
This only fetches the value of the 'readonly' attribute. In order to set that readonly attribute that will later be removed on line 151, you need to use the following:
on line 119 in PusherChatWidget.js, the code reads: this._messageInputEl.attr('readonly');
This only fetches the value of the 'readonly' attribute. In order to set that readonly attribute that will later be removed on line 151, you need to use the following:
this._messageInputEl.attr('readonly', true);