Changeset - ba7c0397c3c1
default
0
1
0
comments: don't open comment form on page load for comments on line 0
Data attributes have magic parsing of strings so '0' becomes 0 which is false.
Further, 0 == '' in JavaScript, so we have to use !== '' to catch empty strings.
Data attributes have magic parsing of strings so '0' becomes 0 which is false.
Further, 0 == '' in JavaScript, so we have to use !== '' to catch empty strings.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)