Skip to content

Commit 2aa2b8f

Browse files
emilyklarchmoj
andauthored
syntax
Co-authored-by: Mojtaba Samimi <33888540+archmoj@users.noreply.github.com>
1 parent 0d154bb commit 2aa2b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/titles/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function draw(gd, titleClass, options) {
7777

7878
// Get subtitle properties
7979
var subtitleProp = options.subtitlePropName;
80-
var subtitleEnabled = !!(subtitleProp);
80+
var subtitleEnabled = !!subtitleProp;
8181
var subtitlePlaceholder = options.subtitlePlaceholder;
8282
var subtitle = (cont.title || {}).subtitle;
8383
var subtitleTxt = (subtitle && subtitle.text ? subtitle.text : '').trim();

0 commit comments

Comments
 (0)