fix some bugs

This commit is contained in:
2017-08-06 00:24:16 +02:00
parent 0b3cfe0e74
commit 0a731bd35e
3 changed files with 15 additions and 16 deletions
+1 -4
View File
@@ -31,14 +31,11 @@
--><a href="<?= url('about') ?>">About</a>
</nav>
<!-- this avoids having to escape quotes for JSON -->
<span class="hidden" id="initial_data">%labels_seq%</span>
<script>
try {
window.noAutoShow = true;
termInit(); // the screen will be loaded via ajax
Screen.load(qs('#initial_data').textContent);
Screen.load('%labels_seq%');
// auto-clear the input box
$('#softkb-input').on('input', function(e) {