Skip to content

Commit

Permalink
[DOCS] Added off on click for 2023.3 (openvinotoolkit#23467)
Browse files Browse the repository at this point in the history
  • Loading branch information
akopytko authored Mar 14, 2024
1 parent 655a726 commit 385782d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sphinx_setup/_static/js/graphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,14 +450,14 @@ $(document).ready(function () {
renderData(graph, networkModels, ietype, platforms, kpis, precisions);
$('.modal-footer').show();
$('#modal-display-graphs').show();
$('.edit-settings-btn').on('click', (event) => {
$('.edit-settings-btn').off('click').on('click', (event) => {
$('#modal-configure-graphs').show();
$('#modal-display-graphs').hide();
$('.modal-footer').hide();
$('.chart-placeholder').empty();
});

$('.graph-chart-title-header').on('click', (event) => {
$('.graph-chart-title-header').off('click').on('click', (event) => {
var parent = event.target.parentElement;

if ($(parent).children('.chart-wrap,.empty-chart-container').is(":visible")) {
Expand Down

0 comments on commit 385782d

Please sign in to comment.