refactor(dom) setHistory: pTitle -> title

This commit is contained in:
coderaiser 2015-09-24 10:23:32 -04:00
parent e4b345919b
commit ea45c6cefe

View file

@ -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;
};