Skip to content
Snippets Groups Projects
Commit dc2b1b9c authored by Adam Procter's avatar Adam Procter
Browse files

fixed to javascript class changes

parent d794d1cb
No related branches found
No related tags found
No related merge requests found
......@@ -130,24 +130,32 @@ export default {
dropArea.addEventListener('drop', this.handleDrop, false)
function overStateList() {
if (document.getElementsByClassName('dropList')[0] != undefined) {
document.getElementsByClassName('dropList')[0].className =
'ipfsupload dropList dragover'
}
}
function leaveStateList() {
if (document.getElementsByClassName('dropList')[0] != undefined) {
document.getElementsByClassName('dropList')[0].className =
'ipfsupload dropList'
}
}
function overState() {
if (document.getElementsByClassName('dropORG')[0] != undefined) {
document.getElementsByClassName('dropORG')[0].className =
'ipfsupload dropORG dragover'
}
}
function leaveState() {
if (document.getElementsByClassName('dropORG')[0] != undefined) {
document.getElementsByClassName('dropORG')[0].className =
'ipfsupload dropORG'
}
}
},
preventDefaults(e) {
e.preventDefault()
......
......@@ -472,7 +472,7 @@ const store = new Vuex.Store({
localypos = 50
}
}
console.log(zindex)
doc.positions.push({
node_id: uniqueid,
x_pos: localxpos,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment