Fix no fancybox configuration on reload

fixes #18
This commit is contained in:
2022-08-08 12:28:33 +02:00
parent ff2e32d2d9
commit c00d966fd7
4 changed files with 8 additions and 12 deletions

View File

@ -42,6 +42,8 @@ jQuery(document).ready(function($)
/** MENU **/
/**********/
fancyboxInit(data, true);
var availableOptions = [];
var selectedOptions = [];
@ -556,10 +558,5 @@ jQuery(document).ready(function($)
setTable();
}
}
// fancybox configuration
$.getScript("scripts/fancybox.js", function() {
fancyboxInit(data, true);
});
});
});