game html dan DIO
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
shuffled.forEach((img, i) => {
|
||||
const card = document.createElement('div');
|
||||
card.className = 'card hidden';
|
||||
card.style.backgroundImage = 'url("freekake.png")';
|
||||
card.style.backgroundImage = 'url("../freekake.png")';
|
||||
card.style.backgroundSize = 'contain';
|
||||
card.style.backgroundRepeat = 'no-repeat';
|
||||
card.style.backgroundPosition = 'center';
|
||||
@@ -111,7 +111,7 @@
|
||||
function hideCard(i) {
|
||||
const el = board.children[i];
|
||||
el.classList.add('hidden');
|
||||
el.style.backgroundImage = 'url("freekake.png")';
|
||||
el.style.backgroundImage = 'url("../freekake.png")';
|
||||
el.style.backgroundSize = 'contain';
|
||||
el.style.backgroundRepeat = 'no-repeat';
|
||||
el.style.backgroundPosition = 'center';
|
||||
@@ -156,7 +156,6 @@
|
||||
if (selected.length === 2) checkMatch();
|
||||
});
|
||||
|
||||
// 🔍 Expose render and notify Flutter
|
||||
window.render = render;
|
||||
|
||||
if (window.flutter_inappwebview) {
|
||||
|
||||
Reference in New Issue
Block a user