1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +00:00

use head and repo name as title on wiki page (#5230)

* use head and repo name as title on wiki page

* update

* update page title by change file

* optimize style

* fix unordered_list display

* update translation

Co-authored-by: lian <lian@seafile.com>
Co-authored-by: shuntian <978987373@qq.com>
Co-authored-by: 王健辉 <40563566+mrwangjianhui@users.noreply.github.com>
This commit is contained in:
lian
2022-08-05 14:15:37 +08:00
committed by GitHub
parent d00c50b566
commit 16bff600d1
80 changed files with 4260 additions and 4270 deletions

View File

@@ -1525,6 +1525,11 @@ export const Utils = {
if (e.key == 'Enter' || e.key == 'Space') {
e.target.click();
}
},
updateTabTitle: function(content) {
const title = document.getElementsByTagName('title')[0];
title.innerText = content;
}
};