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 = [];