mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8221366: Search box tries to search for "Search"
Reviewed-by: jjg
This commit is contained in:
parent
8954e2b37d
commit
2cc859d380
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ $(function() {
|
|||
$(this).val(watermark).addClass('watermark');
|
||||
}
|
||||
});
|
||||
$("#search").on('click keydown', function() {
|
||||
$("#search").on('click keydown paste', function() {
|
||||
if ($(this).val() == watermark) {
|
||||
$(this).val('').removeClass('watermark');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue