From 8ec88b566c5f3edc65f25adc0716c3493689cd08 Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Fri, 26 Aug 2022 13:26:33 +0200 Subject: advanced filtering --- s/masterscript.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 's/masterscript.js') diff --git a/s/masterscript.js b/s/masterscript.js index ce849bc..56234b6 100755 --- a/s/masterscript.js +++ b/s/masterscript.js @@ -6,20 +6,12 @@ // 333networks.com for license and copyright. // //============================================================================== - -// advanced search box -function toggleAdvanced () -{ - var box = document.getElementById("advancedsearch"); - box.style.display = (box.style.display == "block" ? "none" : "block" ); -} - // search box { var qbox = document.getElementById('q'); qbox.onclick = function () { - if ( this.value == 'search...' ) + if ( this.value == 'filter...' ) { this.value = ''; this.style.fontStyle = 'normal' @@ -30,7 +22,7 @@ function toggleAdvanced () { if ( this.value.length < 1 ) { - this.value = 'search...'; + this.value = 'filter...'; this.style.fontStyle = 'italic'; } }; -- cgit v1.2.3