plotly.js 2.16.4 → 2.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plotly.js",
3
- "version": "2.16.4",
3
+ "version": "2.16.5",
4
4
  "description": "The open source javascript graphing library that powers plotly",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",
@@ -449,6 +449,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
449
449
  }
450
450
 
451
451
  function attachGripEvents(item, gd, sliderGroup) {
452
+ if(gd._context.staticPlot) return;
453
+
452
454
  var node = sliderGroup.node();
453
455
  var $gd = d3.select(gd);
454
456
 
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use strict';
2
2
 
3
3
  // package version injected by `npm run preprocess`
4
- exports.version = '2.16.4';
4
+ exports.version = '2.16.5';