Skip to content

Commit 1c3d563

Browse files
Merge pull request #61 from ClickHouse/fix-last-selected-example-on-history-load
Fix WHERE patch carrying over incorrectly from custom queries
2 parents 946b04c + cc414f7 commit 1c3d563

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@
822822
map.setView({lat: params.get('lat'), lng: params.get('lng')}, params.get('zoom'));
823823
updateMap();
824824

825+
last_selected_example = null;
825826
for (example of examples_elem.querySelectorAll('span')) {
826827
example.classList.remove('selected');
827828
if (query == queries[example.innerText]) {

0 commit comments

Comments
 (0)