Skip to content

Commit 195ce8e

Browse files
authored
Update slick.cellrangeselector.js
1 parent f4124ff commit 195ce8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/slick.cellrangeselector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
function init(grid) {
2424
options = $.extend(true, {}, _defaults, options);
25-
_decorator = options.cellDecorator ? options.cellDecorator : new Slick.CellRangeDecorator(grid, options);
25+
_decorator = options.cellDecorator || new Slick.CellRangeDecorator(grid, options);
2626
_grid = grid;
2727
_canvas = _grid.getCanvasNode();
2828
_handler
@@ -120,4 +120,4 @@
120120
"onCellRangeSelected": new Slick.Event()
121121
});
122122
}
123-
})(jQuery);
123+
})(jQuery);

0 commit comments

Comments
 (0)