diff options
Diffstat (limited to 'docs/_includes/autoreload-in-debug.html')
-rw-r--r-- | docs/_includes/autoreload-in-debug.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/autoreload-in-debug.html b/docs/_includes/autoreload-in-debug.html index 13840defa..fa29294b0 100644 --- a/docs/_includes/autoreload-in-debug.html +++ b/docs/_includes/autoreload-in-debug.html @@ -29,7 +29,7 @@ function check() { //console.log('current_etag:', current_etag, 'found_etag:', found_etag); if (current_etag === null) { current_etag = found_etag; - } else if (found_etag !== current_etag) { + } else if (found_etag && found_etag !== current_etag) { document.location.search = '?etag=' + encodeURIComponent(found_etag) + '&scrolly=' + window.scrollY; |