I'm building a website and the page loads a navbar and some other resources with Jquery .load() function (as seen in code below).
<script>
$(function () {
$("#navbar-placeholder").load("subpage_navbar.html");
});
</script>
When viewing the .html files locally on my computer in safari 5 everything works fine, and it used to work fine in safari 11, but now when I try to open the file I get an error:
XMLHttpRequest cannot load file:///... Preflight response is not successful
Are there any preferences I need to change in safari for this to work like it used to?