throttle reload nad use textarea for mobile input bc it shows better symbol for the enter button
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<input id="softkb-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
|
<textarea id="softkb-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
|
||||||
|
|
||||||
<nav id="botnav">
|
<nav id="botnav">
|
||||||
<a href="#" onclick="toggleSoftKb(true); return false" class="icn-keyboard mq-tablet-max"></a><!--
|
<a href="#" onclick="toggleSoftKb(true); return false" class="icn-keyboard mq-tablet-max"></a><!--
|
||||||
@@ -47,8 +47,10 @@
|
|||||||
});
|
});
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
console.error("Fail, reloading…");
|
console.error("Fail, reloading in 1s…");
|
||||||
|
setTimeout(function() {
|
||||||
location.reload(true);
|
location.reload(true);
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleSoftKb(yes) {
|
function toggleSoftKb(yes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user