diff Apache-License-2.0.txt @ 8862:ba7c0397c3c1

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.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 22 Feb 2021 12:12:38 +0100
parents fd2dff0588bc
children
line wrap: on
line diff