Commit 69130f2d authored by Marc Duez's avatar Marc Duez

main.js : fps display only with config debug_mode = true

parent 85496dd8
......@@ -191,7 +191,7 @@
</div></div>
</div>
<div id="fps" style="float: right;"> </div>
<div id="fps" style="float: right; display: none"> </div>
</div>
<!-- fin top-container-->
......
......@@ -47,6 +47,10 @@ if (typeof config != 'undefined') {
});
}
if (config.debug_mode) {
$("#fps").css("display", "");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment