mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-03 06:02:17 +00:00
@@ -45,6 +45,9 @@
|
||||
var component, dayIndex, blockIndex, isFirstBlock, isLastBlock,
|
||||
dragGrip, leftGrip, rightGrip, topGrip, bottomGrip;
|
||||
|
||||
// Don't show grips for blocks of less than 45 minutes
|
||||
if (scope.block.length < 3) return;
|
||||
|
||||
component = scope.block.component;
|
||||
dayIndex = scope.block.dayIndex;
|
||||
blockIndex = _.findIndex(component.blocks, ['dayIndex', dayIndex]);
|
||||
|
||||
Reference in New Issue
Block a user