Browse Source

Fix comment typo

codeClimate
Yotam Berkowitz 8 years ago
parent
commit
b32f9428ff
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      lib/timeline/component/item/RangeItem.js

+ 5
- 5
lib/timeline/component/item/RangeItem.js View File

@ -45,11 +45,11 @@ RangeItem.prototype.isVisible = function(range) {
// determine visibility // determine visibility
var isVisible = var isVisible =
// determine horizontal visibillity // determine horizontal visibillity
(this.data.start < range.end) &&
(this.data.end > range.start) &&
// determine verticaltal visibillity
(this.parent.top < range.body.domProps.centerContainer.height - range.body.domProps.scrollTop) &&
(this.parent.top + this.parent.height > - range.body.domProps.scrollTop)
(this.data.start < range.end) &&
(this.data.end > range.start) &&
// determine vertical visibillity
(this.parent.top < range.body.domProps.centerContainer.height - range.body.domProps.scrollTop) &&
(this.parent.top + this.parent.height > - range.body.domProps.scrollTop)
return isVisible;}; return isVisible;};
/** /**

Loading…
Cancel
Save