mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-07 19:23:03 -04:00
Update html/search.ejs
This commit is contained in:
parent
e755ef3f4c
commit
38871bba36
1 changed files with 1 additions and 1 deletions
|
@ -514,6 +514,7 @@ Web </a>
|
||||||
<%
|
<%
|
||||||
|
|
||||||
const query = q.toLowerCase().trim();
|
const query = q.toLowerCase().trim();
|
||||||
|
let answer = '';
|
||||||
|
|
||||||
function isMathExpression(query) {
|
function isMathExpression(query) {
|
||||||
return /^[0-9\s\+\-\*\/\.\x]+$/.test(query);
|
return /^[0-9\s\+\-\*\/\.\x]+$/.test(query);
|
||||||
|
@ -678,7 +679,6 @@ const tzMap = {
|
||||||
return now.toLocaleTimeString('en-US', options);
|
return now.toLocaleTimeString('en-US', options);
|
||||||
}
|
}
|
||||||
|
|
||||||
let answer = '';
|
|
||||||
|
|
||||||
function randomCompliment() {
|
function randomCompliment() {
|
||||||
const compliments = [
|
const compliments = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue