From 3725f1831d48c83b3f27b135d7715d15a4703a4b Mon Sep 17 00:00:00 2001 From: Minteck <contact@minteck.org> Date: Sun, 12 Dec 2021 13:10:49 +0100 Subject: Make your luck shine! --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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> -- cgit