webk v2.1.0.2

This commit is contained in:
2024-08-14 23:05:46 +02:00
parent 9870b81ddb
commit 3896a907d8
26 changed files with 207 additions and 48 deletions

View File

@ -322,7 +322,7 @@ export class AppSidebarLeft extends SidebarSlider {
},
onOpen: (e, btnMenu) => { // octt: branding
const btnMenuFooter = document.createElement('a');
// btnMenuFooter.href = 'https://github.com/morethanwords/tweb/blob/master/CHANGELOG.md';
btnMenuFooter.href = 'https://gitea.it/octospacc/Spaccogram/src/branch/main/webk';
setBlankToAnchor(btnMenuFooter);
btnMenuFooter.classList.add('btn-menu-footer');
btnMenuFooter.addEventListener(CLICK_EVENT_NAME, (e) => {
@ -344,6 +344,7 @@ export class AppSidebarLeft extends SidebarSlider {
noIcon: true
});
this.toolsBtn.classList.add('sidebar-tools-button', 'is-visible');
this.toolsBtn.appendChild(Object.assign(document.createElement('div'), {className: 'attention-dot'}));
this.backBtn.parentElement.insertBefore(this.toolsBtn, this.backBtn);