mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-11 17:34:58 +00:00
Update chrome.js
This commit is contained in:
parent
0b4cacf417
commit
c1cc02c217
|
@ -103,7 +103,7 @@ var ChromeObject = function(interfaces) {
|
|||
|
||||
this.setUserDataDir = function(dirname) {
|
||||
if (dirname != null) {
|
||||
this.userDataDir = dirname + "\\" + this.profileName;
|
||||
this.userDataDir = dirname;
|
||||
} else {
|
||||
this.userDataDir = SHELL.getPathOfMyDocuments() + "\\UserData_Chrome_" + this.profileName;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user