mirror of
https://github.com/ikrpg/ikrpg.github.io.git
synced 2026-05-13 22:37:20 +00:00
Tried to fix the background loading issue
This commit is contained in:
parent
d70129e0df
commit
69837fca81
1 changed files with 12 additions and 10 deletions
|
|
@ -80,6 +80,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(function() {
|
||||||
db.get("bg", function(error, bg) {
|
db.get("bg", function(error, bg) {
|
||||||
if(error) {
|
if(error) {
|
||||||
bg = {
|
bg = {
|
||||||
|
|
@ -91,6 +92,7 @@
|
||||||
}
|
}
|
||||||
changeBackground(bg.name, bg.topX);
|
changeBackground(bg.name, bg.topX);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue