Skip to content

Commit

Permalink
fixed bug by almende#75
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDM0 committed Apr 2, 2014
1 parent 6861fa1 commit 659d8a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.7.2-SNAPSHOT
* @date 2014-03-31
* @date 2014-04-02
*
* @license
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
Expand Down Expand Up @@ -10648,7 +10648,7 @@ Edge.prototype.draw = function(ctx) {
* @return {boolean} True if location is located on the edge
*/
Edge.prototype.isOverlappingWith = function(obj) {
if (this.connected == true) {
if (this.connected) {
var distMax = 10;
var xFrom = this.from.x;
var yFrom = this.from.y;
Expand Down
2 changes: 1 addition & 1 deletion src/graph/Edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Edge.prototype.draw = function(ctx) {
* @return {boolean} True if location is located on the edge
*/
Edge.prototype.isOverlappingWith = function(obj) {
if (this.connected == true) {
if (this.connected) {
var distMax = 10;
var xFrom = this.from.x;
var yFrom = this.from.y;
Expand Down

0 comments on commit 659d8a5

Please sign in to comment.