Browse Source

fixed missing validation of available zoomKey option values

flowchartTest
Martin Fischer 9 years ago
parent
commit
adb5bcebce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/timeline/optionsTimeline.js

+ 1
- 1
lib/timeline/optionsTimeline.js View File

@ -113,7 +113,7 @@ let allOptions = {
type: {string}, type: {string},
width: {string, number}, width: {string, number},
zoomable: {boolean}, zoomable: {boolean},
zoomKey: {string},
zoomKey: {string: ['ctrlKey', 'altKey', 'metaKey', '']},
zoomMax: {number}, zoomMax: {number},
zoomMin: {number}, zoomMin: {number},

Loading…
Cancel
Save