Browse Source

Fixed titles not working when any of the nodes has id `0`.

v3_develop
jos 9 years ago
parent
commit
c8fe42e956
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      HISTORY.md
  2. +1
    -1
      lib/network/Network.js

+ 4
- 0
HISTORY.md View File

@ -9,6 +9,10 @@ http://visjs.org
- Fixed #761: Timeline and Graph2d throwing an error when locale is not found.
Gives a warning message instead.
### Network
- Fixed titles not working when any of the nodes has id `0`.
## 2015-04-07, version 3.12.0

+ 1
- 1
lib/network/Network.js View File

@ -1449,7 +1449,7 @@ Network.prototype._checkShowPopup = function (pointer) {
};
var id;
var previousPopupObjId = this.popupObj === undefined ? "" : this.popupObj.id;
var previousPopupObjId = this.popupObj === undefined ? undefined : this.popupObj.id;
var nodeUnderCursor = false;
var popupType = "node";

Loading…
Cancel
Save