Browse Source

- Removed IDs from navigation so multiple networks can be shown on the same page. (#438)

v3_develop
Alex de Mulder 9 years ago
parent
commit
1dafff1108
3 changed files with 25615 additions and 25616 deletions
  1. +1
    -0
      HISTORY.md
  2. +25613
    -25614
      dist/vis.js
  3. +1
    -2
      lib/network/mixins/NavigationMixin.js

+ 1
- 0
HISTORY.md View File

@ -11,6 +11,7 @@ http://visjs.org
### Network
- Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
- Removed IDs from navigation so multiple networks can be shown on the same page. (#438)
## 2014-11-07, version 3.6.4

+ 25613
- 25614
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 2
lib/network/mixins/NavigationMixin.js View File

@ -40,7 +40,6 @@ exports._loadNavigationElements = function() {
for (var i = 0; i < navigationDivs.length; i++) {
this.navigationDivs[navigationDivs[i]] = document.createElement('div');
this.navigationDivs[navigationDivs[i]].id = 'network-navigation_' + navigationDivs[i];
this.navigationDivs[navigationDivs[i]].className = 'network-navigation ' + navigationDivs[i];
this.navigationDivs['wrapper'].appendChild(this.navigationDivs[navigationDivs[i]]);
@ -61,7 +60,7 @@ exports._loadNavigationElements = function() {
* @private
*/
exports._zoomExtent = function(event) {
this.zoomExtent({duration:800});
this.zoomExtent({duration:700});
event.stopPropagation();
};

Loading…
Cancel
Save