Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mpds-io/ermac
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Jul 30, 2024
2 parents ddc857d + 1a61b0e commit 54971e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webassets/iframe_visavis.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
window.addEventListener('hashchange', function(){
url_redraw_react();
});

window.plot.on_fixel_checked = (checked) => {
const link = window.plot.json_request();
window.plot.json_request( checked ? `${link}&fixel=1` : link.replace('&fixel=1', '') );
}

})();
</script>
</head>
Expand Down

0 comments on commit 54971e2

Please sign in to comment.