mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-07 23:30:45 -04:00
build
This commit is contained in:
Vendored
+1
-1
@@ -13,7 +13,7 @@ function frame(callback) {
|
||||
};
|
||||
requestAnimationFrame(animate);
|
||||
}
|
||||
export const backgroundImage = function(src, animateOptions) {
|
||||
export const backgroundImage = function(src, animateOptions = {}) {
|
||||
const container = document.getElementById("code");
|
||||
const bg = "background-image:url(" + src + ");background-size:contain;";
|
||||
container.style = bg;
|
||||
|
||||
Reference in New Issue
Block a user