aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-12 13:10:49 +0100
committerMinteck <contact@minteck.org>2021-12-12 13:10:49 +0100
commit3725f1831d48c83b3f27b135d7715d15a4703a4b (patch)
tree02640965cb472d07f8ee3fb48046fee370c002c9 /index.php
parent0213485154399b7d29bf599e11d74fbe7097f88a (diff)
downloadwolfeye-php-3725f1831d48c83b3f27b135d7715d15a4703a4b.tar.gz
wolfeye-php-3725f1831d48c83b3f27b135d7715d15a4703a4b.tar.bz2
wolfeye-php-3725f1831d48c83b3f27b135d7715d15a4703a4b.zip
Make your luck shine!
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 6c0231e..7ce7428 100644
--- a/index.php
+++ b/index.php
@@ -16,7 +16,7 @@
<br/>
<div class="searchbtn">
<input class="home-btn" id="home-submit" type="submit" value="WolfEye Search">
- <input class="home-btn home-btn-last" id="home-lucky" type="button" value="I'm feeling lucky">
+ <input class="home-btn home-btn-last" onclick="if (document.getElementById('home-bar').value.trim() === '') return; location.href = '/lucky?q=' + encodeURI(document.getElementById('home-bar').value);" id="home-lucky" type="button" value="I'm Feeling Lucky">
</div>
<link rel="icon" href="/logo.svg">
</form>