Fix #10044

Fix #10044 Empty string passed to getElementById() in dropdown.js