@@ -22,7 +22,7 @@ var SUBTITLE_PADDING_EM = 1.6;
22
22
* @param {DOM element } gd - the graphDiv
23
23
* @param {string } titleClass - the css class of this title
24
24
* @param {object } options - how and what to draw
25
- * propContainer - the layout object containing the `title` attribute that
25
+ * propContainer - the layout object containing the `title` attribute that
26
26
* applies to this title
27
27
* propName - the full name of the title property (for Plotly.relayout)
28
28
* [traceIndex] - include only if this property applies to one trace
@@ -102,7 +102,7 @@ function draw(gd, titleClass, options) {
102
102
var editAttr ;
103
103
if ( prop === 'title.text' ) editAttr = 'titleText' ;
104
104
else if ( prop . indexOf ( 'axis' ) !== - 1 ) editAttr = 'axisTitleText' ;
105
- else if ( prop . indexOf ( 'colorbar' !== - 1 ) ) editAttr = 'colorbarTitleText' ;
105
+ else if ( prop . indexOf ( 'colorbar' ) !== - 1 ) editAttr = 'colorbarTitleText' ;
106
106
var editable = gd . _context . edits [ editAttr ] ;
107
107
108
108
function matchesPlaceholder ( text , placeholder ) {
0 commit comments