Изменения от Главреда ГитЖС | Changes of GitJS Glavred

This commit is contained in:
Главред | Glavred
2020-10-19 16:10:13 +03:00
parent 387e56c239
commit 8a4926bdae
8 changed files with 244 additions and 30 deletions

View File

@@ -46,6 +46,30 @@ pointer-events: none;
};
};
// // // //
СоздатьКнопкуТем = мир =>
{
var кнопка = document.createElement("div");
кнопка.innerHTML = `
<a id="показать-темы" uk-icon="icon: image; ratio: 2"></a>
`;
кнопка.style = `
position: fixed;
right: 0;
top: 0;
margin: 0.5em;
`;
мир.окна.управление.элемент.appendChild(кнопка);
$(`#показать-темы`).click(function() {
мир.уведомить("кнопка показать темы");
});
};
// // // //