Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
soko
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
soko
Commits
1f5a3890
Commit
1f5a3890
authored
Mar 04, 2020
by
bitsoko services
👷🏿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update custom-script.js
parent
b98900b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
custom-script.js
js/custom-script.js
+10
-1
No files found.
js/custom-script.js
View file @
1f5a3890
...
...
@@ -77,11 +77,12 @@ angular.module('sokoApp', [])
}
});
*/
try
{
getObjectStore
(
'data'
,
'readwrite'
).
get
(
'user-profile-'
+
localStorage
.
getItem
(
"bits-user-name"
)).
onsuccess
=
function
(
event
)
{
try
{
profileLoaded
(
JSON
.
parse
(
event
.
target
.
result
));
}
catch
(
err
)
{
console
.
log
(
'
no user profile found
: '
,
err
);
console
.
log
(
'
failed to read user profile
: '
,
err
);
$
(
'#login'
).
modal
({
// onOpenEnd: startGoogle(),
dismissible
:
false
...
...
@@ -89,6 +90,14 @@ angular.module('sokoApp', [])
}
}
}
catch
(
err
)
{
console
.
log
(
'no user profile found : '
,
err
);
$
(
'#login'
).
modal
({
// onOpenEnd: startGoogle(),
dismissible
:
false
}).
modal
(
"open"
)
}
$
(
'.sidebar-collapse'
).
sidenav
({
menuWidth
:
300
,
// Default is 300
edge
:
'left'
,
// Choose the horizontal origin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment