mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 21:40:02 +00:00
Merge pull request #3586 from RobLoach/console
(Emscripten) Show/Hide the console
This commit is contained in:
commit
f9e7308a56
@ -114,7 +114,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2">
|
<div class="col-sm-10 form-group btn-group text-xs-center p-t-2">
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary" id="lblLocal" onclick=switchStorage("browser")>
|
<label class="btn btn-primary" id="lblLocal" onclick=switchStorage("browser")>
|
||||||
<input type="radio" name="options" id="btnLocal" autocomplete="off" checked>
|
<input type="radio" name="options" id="btnLocal" autocomplete="off" checked>
|
||||||
@ -128,6 +128,11 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-sm-2 form-group btn-group text-xs-center p-t-2">
|
||||||
|
<button type="button" name="options" id="btnlogs" class="btn btn-info pull-xs-right">
|
||||||
|
<span class="fa fa-list"></span> Log
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2">
|
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2">
|
||||||
|
@ -280,6 +280,13 @@ function switchStorage(backend) {
|
|||||||
|
|
||||||
// When the browser has loaded everything.
|
// When the browser has loaded everything.
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
|
// Hide the logging window and allow the user to show it.
|
||||||
|
$('#output').hide();
|
||||||
|
$('#btnlogs').click(function () {
|
||||||
|
$('#output').slideToggle();
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempt to disable some default browser keys.
|
* Attempt to disable some default browser keys.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user