forked from GithubMirrors/cardconjurer
Open creator on page load
This commit is contained in:
@@ -800,7 +800,7 @@ function autoFrame() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function autoUBFrame(colors, mana_cost, type_line, power) {
|
async function autoUBFrame(colors, mana_cost, type_line, power) {
|
||||||
var frames = card.frames.filter(frame => frame.name.includes('Extension') || frame.name.includes('Gray Holo Stamp'));
|
var frames = card.frames.filter(frame => frame.name.includes('Extension') || frame.name.includes('Gray Holo Stamp') || frame.name.includes('Gold Holo Stamp'));
|
||||||
|
|
||||||
//clear the draggable frames
|
//clear the draggable frames
|
||||||
card.frames = [];
|
card.frames = [];
|
||||||
|
@@ -117,4 +117,9 @@ function bindInputs(query1, query2, checkbox = false) {
|
|||||||
e1.oninput = (event) => {e2.value = e1.value;}
|
e1.oninput = (event) => {e2.value = e1.value;}
|
||||||
e2.oninput = (event) => {e1.value = e2.value;}
|
e2.oninput = (event) => {e1.value = e2.value;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
document.body.dispatchEvent(new Event('doCreate'));
|
||||||
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user