diff options
| author | Michael Ball <cycomachead@gmail.com> | 2014-10-27 18:19:29 -0700 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2014-10-27 18:19:29 -0700 |
| commit | 0dcca0606c3ae570110614d0dd94d6a38255100f (patch) | |
| tree | 6541f796fe390fd8ae60c371fa11d9e1b0834cbf | |
| parent | 5f3279990be3478fde79b94f7dbd5d7da80df84b (diff) | |
| download | snap-0dcca0606c3ae570110614d0dd94d6a38255100f.tar.gz snap-0dcca0606c3ae570110614d0dd94d6a38255100f.zip | |
Set Default Save location to Cloud on Snap! load
When Snap! is loaded, Snap! will now check whether a user is logged in
(via the presence of `SnapCloud.username`) and if so, the default save
location will be the cloud.
| -rw-r--r-- | gui.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ IDE_Morph.prototype.init = function (isAutoFill) { // additional properties: this.cloudMsg = null; - this.source = 'local'; + this.source = SnapCloud.username ? 'cloud' : 'local'; this.serializer = new SnapSerializer(); this.globalVariables = new VariableFrame(); |
