Fixing Safari Support (#222)

* Switch to non-minified JSON Editor Lib

* Fixing Safari Support
This commit is contained in:
b1rdhous3
2016-09-04 16:27:48 +02:00
committed by redPanther
parent 49d3d35de1
commit b99e75d7e4
3 changed files with 7 additions and 19 deletions

View File

@@ -1,10 +1,10 @@
function bindNavToContent(containerId, fileName, loadNow=false)
function bindNavToContent(containerId, fileName, loadNow)
{
$("#page-wrapper").off();
$(containerId).on("click", function() {
$("#page-wrapper").load("/content/"+fileName+".html");
});
});
if (loadNow)
{
$("#page-wrapper").load("/content/"+fileName+".html");