Commit e2454240 authored by bitsoko services's avatar bitsoko services 👷🏿

Update bitsoko.js

parent 5f1fa01e
......@@ -68,12 +68,12 @@ var playPendingOrders = function() {
};
function profileLoaded(p) {
async function profileLoaded(p) {
$('.profile-image').attr('src', p.image);
//p.ownerid=1;
localStorage.setItem('soko-owner-id', p.bitsokoUserID);
$("#signingIn").html("Signing In. Please Wait");
updateStores();
await updateStores();
setTimeout(userNamesInput, 18000);
......@@ -146,7 +146,7 @@ function loadTheme() {
}
function updateStores() {
async function updateStores() {
try {
addStore()
} catch (err) {
......@@ -834,7 +834,7 @@ persistentFunc();
//Box Shadow On Specific Pages
function latefunctions() {
async function latefunctions() {
$(".pageBoxShadow").click(function() {
$('.navbar-fixed nav').css({
'box-shadow': '0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2)',
......@@ -857,7 +857,7 @@ function latefunctions() {
setTimeout(location.reload(), 2000)
});
localStorage.setItem('bits-user-name', getBitsWinOpt('uid'));
updateStores();
await updateStores();
}
setTimeout(function(e) {
latefunctions()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment