[DOCS] Updated links to files for 2024 version (#23163)

### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
This commit is contained in:
Andrzej Kopytko 2024-02-29 13:43:36 +01:00 committed by GitHub
parent 2f8b7c011d
commit e03ea569de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -481,9 +481,9 @@ $(document).ready(function () {
function showModal(version) {
$('body').css('overflow', 'hidden');
let dataPath = '_static/benchmarks_files/OV-benchmark-data.csv';
let dataPath = '../_static/benchmarks_files/OV-benchmark-data.csv';
if (version == 'ovms')
dataPath = '_static/benchmarks_files/OVMS-benchmark-data.csv';
dataPath = '../_static/benchmarks_files/OVMS-benchmark-data.csv';
Papa.parse(dataPath, {
download: true,
complete: (result) => renderModal(result, version)
@ -548,7 +548,7 @@ $(document).ready(function () {
var networkModels = Graph.getNetworkModels(graph.data);
var ieTypes = Graph.getIeTypes(graph.data);
fetch('_static/html/modal.html').then((response) => response.text()).then((text) => {
fetch('../_static/html/modal.html').then((response) => response.text()).then((text) => {
// generate and configure modal container
var modal = $('<div>');

View File

@ -1,6 +1,6 @@
var cookieVersion = 0;
window.onload = (e) => {
fetch('_static/html/banner_data.json').then((data) => {
fetch('../_static/html/banner_data.json').then((data) => {
data.json().then((item) => {
if(item != null && item.p != "" && item.version != "" && item.style != "" ) {
cookieVersion = item.version;