Browse Source

Fix #2914: Use option edges.chosen if present in global options (#2917)

gemini
wimrijnders 7 years ago
committed by Brad Hards
parent
commit
03c6e9b627
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/network/modules/components/Edge.js

+ 1
- 1
lib/network/modules/components/Edge.js View File

@ -209,7 +209,7 @@ class Edge {
choosify(options) { choosify(options) {
this.chooser = true; this.chooser = true;
let pile = [options, this.options, this.defaultOptions];
let pile = [options, this.options, this.edgeOptions, this.defaultOptions];
let chosen = util.topMost(pile, 'chosen'); let chosen = util.topMost(pile, 'chosen');
if (typeof chosen === 'boolean') { if (typeof chosen === 'boolean') {

Loading…
Cancel
Save