Skip to content

Commit fc0dbfc

Browse files
committed
full color maps: try to fix the occasional bug where language data doesn't get refreshed properly
1 parent d62fada commit fc0dbfc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

vis/js/color_maps.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ $(document).on('ready page:load', function () {
326326
createOrRefreshAllLangs()
327327
})
328328

329-
$("#low-data").change(createOrRefreshAllLangs)
329+
$("#low-data").change(updateDisplay)
330330
$("#ref_bins").change(createOrRefreshAllLangs)
331331
$("#both_lch_views").change(createOrRefreshAllLangs)
332332

@@ -362,6 +362,7 @@ $(document).on('ready page:load', function () {
362362

363363
$("#additional_bins").change(() => {
364364
setBinOptions()
365+
updateDisplay()
365366
})
366367

367368
updateDisplay()

0 commit comments

Comments
 (0)