Commit 91cf6492 authored by christianrhansen's avatar christianrhansen
Browse files

removed redundant function

parent 0a045a67
......@@ -19,7 +19,7 @@
// ------------------------------------------------------------------------------------------------------------ grid
div.cell-grid(
@click="event => {test(event)}",
@click="event => {addMobileCell(event)}",
@dragenter="handleGridDragOver",
@dragover="handleGridDragOver",
@dragleave="handleGridDragEnd",
......@@ -343,15 +343,6 @@
*/
// console.log('--->>>', this.getGridPositionForEvent(event))
},
test (event) {
// console.log('--->>>', this.getGridPositionForEvent(event))
// console.log(event)
let resourceCell = this.cachedNewCell
console.log('event--------', event)
console.log('resourceCell --- ', resourceCell)
// event.dataTransfer.setData('text/plain', JSON.stringify(resourceCell))
this.addMobileCell(event)
},
addMobileCell (event) {
if (this.cachedNewCell) {
this.handleGridDrop(event)
......
Markdown is supported
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