mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
refactor(dom) setTitle
This commit is contained in:
parent
c2424cd8e8
commit
0db8107279
1 changed files with 6 additions and 6 deletions
|
|
@ -1253,14 +1253,14 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
if (!Title)
|
||||
Title = DOM.getByTag('title')[0] ||
|
||||
DOM.anyload({
|
||||
name:'title',
|
||||
parentElement: document.head,
|
||||
innerHTML: name
|
||||
name :'title',
|
||||
innerHTML : name,
|
||||
parentElement : document.head
|
||||
});
|
||||
if (Title)
|
||||
Title.textContent = name;
|
||||
|
||||
return Title;
|
||||
Title.textContent = name;
|
||||
|
||||
return this;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue