We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c855015 commit f7efc22Copy full SHA for f7efc22
src/components/modebar/modebar.js
@@ -5,6 +5,8 @@ var isNumeric = require('fast-isnumeric');
5
6
var Lib = require('../../lib');
7
var Icons = require('../../fonts/ploticon');
8
+var version = require('../../version').version;
9
+
10
var Parser = new DOMParser();
11
12
/**
@@ -292,7 +294,7 @@ proto.getLogo = function() {
292
294
293
295
a.href = 'https://plotly.com/';
296
a.target = '_blank';
- a.setAttribute('data-title', Lib._(this.graphInfo, 'Produced with Plotly'));
297
+ a.setAttribute('data-title', Lib._(this.graphInfo, 'Produced with Plotly') + '.js ' + version);
298
a.className = 'modebar-btn plotlyjsicon modebar-btn--logo';
299
300
a.appendChild(this.createIcon(Icons.newplotlylogo));
0 commit comments