Merge branch 'Refactoring_and_fixing' into add_build_process

This commit is contained in:
2020-04-19 14:56:27 +03:00
2 changed files with 9 additions and 6 deletions

11
src/dom/controls.js vendored
View File

@@ -21,12 +21,11 @@ function muteBtnHTML(id) {
* @param chatBody {HTMLElement}
* @return {function(...[*]=)}
*/
export function addControls(chatBody) {
return function (event) {
if (event.target.className === 'im-mess--check fl_l') {
const message = event.target.parentElement;
addControlButton(message, chatBody)
}
function addControls(event) {
console.log(event);
if (event.target.className === 'im-mess--check fl_l') {
const message = event.target.parentElement;
addControlButton(message)
}
}

View File

@@ -47,3 +47,7 @@
background-repeat: no-repeat;
padding: 6px;
}
.im-mess--actions {
margin-right: -30px !important;
}