Improved lychee.dropbox and lychee.dropboxKey check

pull/462/head
Tobias Reich 8 years ago
parent 36dd48ec27
commit 7dd82fc516

@ -330,7 +330,7 @@ lychee.retinize = function(path = '') {
lychee.loadDropbox = function(callback) {
if (!lychee.dropbox && lychee.dropboxKey) {
if (lychee.dropbox===false && lychee.dropboxKey!=null && lychee.dropboxKey!=='') {
loadingBar.show()
@ -351,7 +351,7 @@ lychee.loadDropbox = function(callback) {
}
s.parentNode.insertBefore(g, s)
} else if (lychee.dropbox&&lychee.dropboxKey) {
} else if (lychee.dropbox===true && lychee.dropboxKey!=null && lychee.dropboxKey!=='') {
callback()

Loading…
Cancel
Save