diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |