mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fixing Safari Support (#222)
* Switch to non-minified JSON Editor Lib * Fixing Safari Support
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user