mirror of
https://codeberg.org/ashley/poke
synced 2025-06-19 20:12:10 +00:00
Update html/search.ejs
This commit is contained in:
parent
e755ef3f4c
commit
38871bba36
@ -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…
x
Reference in New Issue
Block a user