Commit 5de6ce81 authored by Porter Libby's avatar Porter Libby
Browse files

fix keyboard

parent f0a89ccd
......@@ -127,8 +127,8 @@
<script>
var parent = document.getElementById('search_parent');
create_searchbar(parent,'major_selection');
if (!('ontouchstart' in document.documentElement)){
$("#block-1 #searchbar").keyboard({
if (('ontouchstart' in document.documentElement)){
$("#search_parent #searchbar").keyboard({
usePreview: false,
autoAccept: true,
autoAcceptOnEsc: true,
......
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