Merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
commit
b5ed08eba2
93 changed files with 4188 additions and 653 deletions
|
@ -318,7 +318,7 @@ module.exports = React.createClass({
|
|||
|
||||
_addCodeCopyButton() {
|
||||
// Add 'copy' buttons to pre blocks
|
||||
ReactDOM.findDOMNode(this).querySelectorAll('.mx_EventTile_body pre').forEach((p) => {
|
||||
Array.from(ReactDOM.findDOMNode(this).querySelectorAll('.mx_EventTile_body pre')).forEach((p) => {
|
||||
const button = document.createElement("span");
|
||||
button.className = "mx_EventTile_copyButton";
|
||||
button.onclick = (e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue