Skip to content

Commit 4d4a61a

Browse files
committed
fix: remove forgoten console.log
1 parent 48dab2f commit 4d4a61a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gridList/gridList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ export class GridList {
470470
}
471471
const rowBelowItem = this.grid[position.x - 1];
472472

473-
return rowBelowItem
473+
return (rowBelowItem || [])
474474
.slice(position.y, position.y + position.h)
475475
.reduce((isFloating, cellItem) => {
476476
return isFloating && !!cellItem;

src/gridster.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export class GridsterService {
399399

400400
private refreshLines() {
401401
const gridsterContainer = <HTMLElement>this.gridsterComponent.$element.firstChild;
402-
console.log('refresh');
402+
403403
if (this.options.lines && this.options.lines.visible &&
404404
(this.gridsterComponent.isDragging || this.gridsterComponent.isResizing)) {
405405
const linesColor = this.options.lines.color || '#d8d8d8';

0 commit comments

Comments
 (0)