This commit is contained in:
ed 2021-11-20 02:27:09 +01:00
parent e4ae5f74e6
commit edbedcdad3
4 changed files with 8 additions and 5 deletions

View file

@ -1,8 +1,8 @@
# coding: utf-8 # coding: utf-8
VERSION = (1, 1, 2) VERSION = (1, 1, 3)
CODENAME = "opus" CODENAME = "opus"
BUILD_DT = (2021, 11, 12) BUILD_DT = (2021, 11, 20)
S_VERSION = ".".join(map(str, VERSION)) S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -2977,6 +2977,9 @@ document.onkeydown = function (e) {
if (widget.is_open) if (widget.is_open)
return widget.close(); return widget.close();
if (showfile.active())
return thegrid.setvis(true);
if (!treectl.hidden) if (!treectl.hidden)
return treectl.detree(); return treectl.detree();

View file

@ -94,8 +94,7 @@
<a href="#" id="repl">π</a> <a href="#" id="repl">π</a>
<script> <script>
if (localStorage.lightmode != 1) document.documentElement.setAttribute("class", localStorage.lightmode == 1 ? "light" : "dark");
document.documentElement.setAttribute("class", "dark");
</script> </script>
<script src="/.cpr/util.js?_={{ ts }}"></script> <script src="/.cpr/util.js?_={{ ts }}"></script>

View file

@ -120,7 +120,8 @@ html {
color: #fff; color: #fff;
background: #111; background: #111;
font-size: .9em; font-size: .9em;
padding: 0 .3em; padding: 0 .26em;
line-height: .97em;
border-radius: 1em; border-radius: 1em;
position: absolute; position: absolute;
display: none; display: none;