Commit 0b2c4527 authored by Anders B. Clausen's avatar Anders B. Clausen
Browse files

Added some new lines in between methods in the code

parent 3783b2a9
......@@ -62,12 +62,14 @@ export default {
blocks: [{ type: "ActiveCourses", width: 30 },{ type: "Feed", width: 70 }]
});
},
blurRow(rowIndex) {
const cols = document.getElementById(rowIndex).getElementsByClassName("col");
for (const col of cols) {
col.className = "col animate-blur-grey-out-zoom";
}
},
unblurRow(rowIndex) {
if(!this.deleting) {
const cols = document.getElementById(rowIndex).getElementsByClassName("col");
......@@ -76,6 +78,7 @@ export default {
}
}
},
mightRemoveRow(rowIndex) {
if(this.deleting) {
this.cancelRemoveRow(rowIndex);
......@@ -98,10 +101,12 @@ export default {
pen.style.display = "none";
}
},
removeRow(rowIndex) {
this.cancelRemoveRow(rowIndex);
this.layout.splice(rowIndex, 1);
},
cancelRemoveRow(rowIndex) {
this.deleting = false;
this.unblurRow(rowIndex);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment