~edwargix/git.sr.ht

f1c82f919a17b5383239040d5cca63ffa58bf55f — наб 4 years ago 25f5679
Handle unselecting all highlights properly
1 files changed, 4 insertions(+), 0 deletions(-)

M _static/linelight.js
M _static/linelight.js => _static/linelight.js +4 -0
@@ 98,6 98,10 @@ const spansFromLineNumbers = lineNos => {
 * Returns a hash matching the given set of line numbers.
 */
const hashFromLineNumbers = lineNos => {
  if (lineNos.size === 0) {
    return "";
  }

  const spans = spansFromLineNumbers(lineNos);
  const parts = [];