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:
@@ -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;
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user