element-portable/src/components/views/messages
David Baker 876257f4e2 Consolidate the code copy button
Adding the code code button was done by manipulating the HTML of
the event body to add a span tag, then adding the onclick handler
after the thing was mounted. Apart from splitting the code between
two places, adding the span tag was, according to Chrome's
profiler, taking up quite a lot of CPU cycles (apparently as soon
as you set the innerHTML on a div). Instead, just build the whole
lot together after the component mounts.
2017-09-10 14:23:33 +01:00
..
MAudioBody.js remove unused imports 2017-06-02 21:35:55 +01:00
MessageEvent.js layout for file & notif panel 2016-09-11 02:14:27 +01:00
MFileBody.js don't track error messages 2017-08-10 13:49:11 +01:00
MImageBody.js q(...) -> Promise.resolve 2017-07-12 18:05:08 +01:00
MVideoBody.js q(...) -> Promise.resolve 2017-07-12 18:05:08 +01:00
RoomAvatarEvent.js width and height must be int otherwise synapse cries 2017-06-13 12:19:20 +01:00
SenderProfile.js Better RTL support 2017-06-03 18:52:45 +03:00
TextualBody.js Consolidate the code copy button 2017-09-10 14:23:33 +01:00
TextualEvent.js quick and dirty RoomAvatarEvent 2017-06-01 13:31:24 +01:00
UnknownBody.js More i18n strings (#963) 2017-05-30 15:09:57 +01:00