OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[DOCS] Fixed problems with console (#26704)
Andrzej Kopytko22869259a791
diff --git a/docs/sphinx_setup/_static/js/custom.js b/docs/sphinx_setup/_static/js/custom.jsindex e67a09e84f7..df8bc9131bf 100644--- a/docs/sphinx_setup/_static/js/custom.js+++ b/docs/sphinx_setup/_static/js/custom.js@@ -125,13 +125,15 @@ function handleSidebar() {function initSidebar() {const sidebar = document.querySelector("#bd-sidebar");- var size;- if(localStorage['resizeSidebarX'] == null){- size = "350px";- }else{- size = localStorage['resizeSidebarX'];+ if (sidebar) {+ var size;+ if (localStorage['resizeSidebarX'] == null) {+ size = "350px";+ } else {+ size = localStorage['resizeSidebarX'];+ }+ sidebar.style.flexBasis = size;}- sidebar.style.flexBasis = size;}// Determine where we'd go if clicking on a version selector optiondiff --git a/docs/sphinx_setup/_static/js/graphs.js b/docs/sphinx_setup/_static/js/graphs.jsindex 62224cedd3b..f8146c1580c 100644--- a/docs/sphinx_setup/_static/js/graphs.js+++ b/docs/sphinx_setup/_static/js/graphs.js@@ -637,7 +637,7 @@ $(document).ready(function () {}}}- } Throughput+ }function getChartDataNew(labels, datasets) {return {