Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},
allcomplete: function () {
$uploadButton.text('Upload Logo')
$uploadButton.attr('disabled', false)
$uploadButton.removeClass('disable')
helpers.UI.showSnackbar('Upload Complete. Reloading...', false)
// remove page refresh once SettingsService merge
// $('img.site-logo').attr('src', '/assets/topLogo.png?refresh=' + new Date().getTime());
setTimeout(function () {
window.location.reload()
}, 1000)
$buttonX.removeClass('hide')
}
}
UIkit.uploadSelect($uploadSelect, uploadLogoSettings)
}