Skip to content

Commit

Permalink
Fix silly JS error introduced in #389, which prevented some initializ…
Browse files Browse the repository at this point in the history
…ation.

Fixes #444
  • Loading branch information
dsagal committed Nov 14, 2024
1 parent 3960934 commit b4f8378
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions help/en/docs/js/grist.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
function expandSelected() {
var hash = window.location.hash.split('/').slice(-1)[0];
var elem = hash ? document.querySelector(hash) : null;
if (!elem) { return; }
var closestExpandableElem = elem.closest('details');

if (!closestExpandableElem) {
Expand Down

0 comments on commit b4f8378

Please sign in to comment.