mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(dom) setHistory: pTitle -> title
This commit is contained in:
parent
e4b345919b
commit
ea45c6cefe
1 changed files with 2 additions and 2 deletions
|
|
@ -979,13 +979,13 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
/**
|
||||
* setting history wrapper
|
||||
*/
|
||||
this.setHistory = function(data, pTitle, url) {
|
||||
this.setHistory = function(data, title, url) {
|
||||
var ret = window.history;
|
||||
|
||||
url = CloudCmd.PREFIX + url;
|
||||
|
||||
if (ret)
|
||||
history.pushState(data, pTitle, url);
|
||||
history.pushState(data, title, url);
|
||||
|
||||
return ret;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue