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,23 +130,31 @@ export default {
dropArea.addEventListener('drop', this.handleDrop, false)
function overStateList() {
document.getElementsByClassName('dropList')[0].className =
'ipfsupload dropList dragover'
if (document.getElementsByClassName('dropList')[0] != undefined) {
document.getElementsByClassName('dropList')[0].className =
'ipfsupload dropList dragover'
}
}
function leaveStateList() {
document.getElementsByClassName('dropList')[0].className =
'ipfsupload dropList'
if (document.getElementsByClassName('dropList')[0] != undefined) {
document.getElementsByClassName('dropList')[0].className =
'ipfsupload dropList'
}
}
function overState() {
document.getElementsByClassName('dropORG')[0].className =
'ipfsupload dropORG dragover'
if (document.getElementsByClassName('dropORG')[0] != undefined) {
document.getElementsByClassName('dropORG')[0].className =
'ipfsupload dropORG dragover'
}
}
function leaveState() {
document.getElementsByClassName('dropORG')[0].className =
'ipfsupload dropORG'
if (document.getElementsByClassName('dropORG')[0] != undefined) {
document.getElementsByClassName('dropORG')[0].className =
'ipfsupload dropORG'
}
}
},
preventDefaults(e) {
......
......@@ -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.
Finish editing this message first!
Please register or to comment